mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
wip
This commit is contained in:
parent
cecd9c24a4
commit
cfd9155918
@ -41,7 +41,6 @@ export class AssetEntity {
|
||||
livePhotoVideo!: AssetEntity | null;
|
||||
livePhotoVideoId!: string | null;
|
||||
originalFileName!: string;
|
||||
sidecarPath!: string | null;
|
||||
exifInfo?: Exif;
|
||||
tags?: Tag[];
|
||||
sharedLinks!: SharedLinkEntity[];
|
||||
|
@ -39,6 +39,7 @@ export enum AssetFileType {
|
||||
FULLSIZE = 'fullsize',
|
||||
PREVIEW = 'preview',
|
||||
THUMBNAIL = 'thumbnail',
|
||||
SIDECAR = 'sidecar',
|
||||
}
|
||||
|
||||
export enum AlbumUserRole {
|
||||
|
@ -759,7 +759,7 @@ export class MetadataService extends BaseService {
|
||||
}
|
||||
|
||||
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) {
|
||||
return JobStatus.FAILED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user