fix(server): live photo linking (#4253)

This commit is contained in:
Jason Rasmussen 2023-09-27 16:32:58 -04:00 committed by GitHub
parent 7cb78ed972
commit c3d6d69262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -28,8 +28,8 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cookie-parser": "^1.4.6",
"exiftool-vendored": "^22.0.0",
"exiftool-vendored.pl": "^12.62.0",
"exiftool-vendored": "~22.2.3",
"exiftool-vendored.pl": "~12.65.0",
"fluent-ffmpeg": "^2.1.2",
"geo-tz": "^7.0.7",
"glob": "^10.3.3",

View File

@ -58,11 +58,11 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cookie-parser": "^1.4.6",
"exiftool-vendored": "^22.0.0",
"exiftool-vendored.pl": "^12.62.0",
"exiftool-vendored": "~22.2.3",
"exiftool-vendored.pl": "~12.65.0",
"fluent-ffmpeg": "^2.1.2",
"glob": "^10.3.3",
"geo-tz": "^7.0.7",
"glob": "^10.3.3",
"handlebars": "^4.7.8",
"i18n-iso-countries": "^7.6.0",
"immich": "^0.41.0",

View File

@ -317,7 +317,7 @@ export class MetadataService {
iso: validate(tags.ISO),
latitude: validate(tags.GPSLatitude),
lensModel: tags.LensModel ?? null,
livePhotoCID: (asset.type === AssetType.VIDEO ? tags.ContentIdentifier : tags.MediaGroupUUID) ?? null,
livePhotoCID: (tags.ContentIdentifier || tags.MediaGroupUUID) ?? null,
longitude: validate(tags.GPSLongitude),
make: tags.Make ?? null,
model: tags.Model ?? null,