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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,