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,