0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

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-transformer": "^0.5.1",
"class-validator": "^0.14.0", "class-validator": "^0.14.0",
"cookie-parser": "^1.4.6", "cookie-parser": "^1.4.6",
"exiftool-vendored": "^22.0.0", "exiftool-vendored": "~22.2.3",
"exiftool-vendored.pl": "^12.62.0", "exiftool-vendored.pl": "~12.65.0",
"fluent-ffmpeg": "^2.1.2", "fluent-ffmpeg": "^2.1.2",
"geo-tz": "^7.0.7", "geo-tz": "^7.0.7",
"glob": "^10.3.3", "glob": "^10.3.3",

View file

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

View file

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