1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

fix(server): android live motion (#4218)

This commit is contained in:
Jason Rasmussen
2023-09-25 09:42:23 -04:00
committed by GitHub
parent c0ce81ca0e
commit 07069c3b1e

View File

@@ -223,6 +223,7 @@ export class MetadataExtractionProcessor {
let motionAsset = await this.assetRepository.getByChecksum(asset.ownerId, checksum);
if (!motionAsset) {
motionAsset = await this.assetRepository.save({
libraryId: asset.libraryId,
type: AssetType.VIDEO,
fileCreatedAt: asset.fileCreatedAt ?? asset.createdAt,
fileModifiedAt: asset.fileModifiedAt,