fix: no thumbnail generated for motion assets (#17472)

This commit is contained in:
Alex
2025-04-08 16:07:10 -05:00
committed by GitHub
parent 4794eeca88
commit ae8af84101
2 changed files with 6 additions and 9 deletions
+2 -1
View File
@@ -550,7 +550,8 @@ export class MetadataService extends BaseService {
this.storageCore.ensureFolders(motionAsset.originalPath);
await this.storageRepository.createFile(motionAsset.originalPath, video);
this.logger.log(`Wrote motion photo video to ${motionAsset.originalPath}`);
await this.jobRepository.queue({ name: JobName.METADATA_EXTRACTION, data: { id: motionAsset.id } });
await this.handleMetadataExtraction({ id: motionAsset.id });
}
this.logger.debug(`Finished motion photo video extraction for asset ${asset.id}: ${asset.originalPath}`);