From 07069c3b1e06d662f7476bbbf8cbcf9a2be91642 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Mon, 25 Sep 2023 09:42:23 -0400 Subject: [PATCH] fix(server): android live motion (#4218) --- .../microservices/processors/metadata-extraction.processor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/microservices/processors/metadata-extraction.processor.ts b/server/src/microservices/processors/metadata-extraction.processor.ts index b0274cb575..5c8ad06302 100644 --- a/server/src/microservices/processors/metadata-extraction.processor.ts +++ b/server/src/microservices/processors/metadata-extraction.processor.ts @@ -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,