This commit is contained in:
Jonathan Jogenfors 2025-04-15 15:45:02 +02:00
parent cecd9c24a4
commit cfd9155918
3 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,6 @@ export class AssetEntity {
livePhotoVideo!: AssetEntity | null;
livePhotoVideoId!: string | null;
originalFileName!: string;
sidecarPath!: string | null;
exifInfo?: Exif;
tags?: Tag[];
sharedLinks!: SharedLinkEntity[];

View File

@ -39,6 +39,7 @@ export enum AssetFileType {
FULLSIZE = 'fullsize',
PREVIEW = 'preview',
THUMBNAIL = 'thumbnail',
SIDECAR = 'sidecar',
}
export enum AlbumUserRole {

View File

@ -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;