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

This commit is contained in:
Jason Rasmussen authored and GitHub committed 2023-09-27 20:32:58 +00:00
1 parent 7cb78ed972
commit c3d6d69262
3 files changed
+6 -6

No files matched your search

+2 -2
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",
+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",
@@ -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,