mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 12:15:47 -04:00
wip
This commit is contained in:
parent
cecd9c24a4
commit
cfd9155918
@ -41,7 +41,6 @@ export class AssetEntity {
|
|||||||
livePhotoVideo!: AssetEntity | null;
|
livePhotoVideo!: AssetEntity | null;
|
||||||
livePhotoVideoId!: string | null;
|
livePhotoVideoId!: string | null;
|
||||||
originalFileName!: string;
|
originalFileName!: string;
|
||||||
sidecarPath!: string | null;
|
|
||||||
exifInfo?: Exif;
|
exifInfo?: Exif;
|
||||||
tags?: Tag[];
|
tags?: Tag[];
|
||||||
sharedLinks!: SharedLinkEntity[];
|
sharedLinks!: SharedLinkEntity[];
|
||||||
|
@ -39,6 +39,7 @@ export enum AssetFileType {
|
|||||||
FULLSIZE = 'fullsize',
|
FULLSIZE = 'fullsize',
|
||||||
PREVIEW = 'preview',
|
PREVIEW = 'preview',
|
||||||
THUMBNAIL = 'thumbnail',
|
THUMBNAIL = 'thumbnail',
|
||||||
|
SIDECAR = 'sidecar',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum AlbumUserRole {
|
export enum AlbumUserRole {
|
||||||
|
@ -759,7 +759,7 @@ export class MetadataService extends BaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async processSidecar(id: string, isSync: boolean): Promise<JobStatus> {
|
private async processSidecar(id: string, isSync: boolean): Promise<JobStatus> {
|
||||||
const [asset] = await this.assetRepository.getByIds([id]);
|
const [asset] = await this.assetRepository.getByIds([id], { files: true });
|
||||||
|
|
||||||
if (!asset) {
|
if (!asset) {
|
||||||
return JobStatus.FAILED;
|
return JobStatus.FAILED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user