mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 17:25:35 +03:00
fix(server): android live motion (#4218)
This commit is contained in:
@@ -223,6 +223,7 @@ export class MetadataExtractionProcessor {
|
|||||||
let motionAsset = await this.assetRepository.getByChecksum(asset.ownerId, checksum);
|
let motionAsset = await this.assetRepository.getByChecksum(asset.ownerId, checksum);
|
||||||
if (!motionAsset) {
|
if (!motionAsset) {
|
||||||
motionAsset = await this.assetRepository.save({
|
motionAsset = await this.assetRepository.save({
|
||||||
|
libraryId: asset.libraryId,
|
||||||
type: AssetType.VIDEO,
|
type: AssetType.VIDEO,
|
||||||
fileCreatedAt: asset.fileCreatedAt ?? asset.createdAt,
|
fileCreatedAt: asset.fileCreatedAt ?? asset.createdAt,
|
||||||
fileModifiedAt: asset.fileModifiedAt,
|
fileModifiedAt: asset.fileModifiedAt,
|
||||||
|
|||||||
Reference in New Issue
Block a user