Skip to content

for google photos, immich-go should prioritize GPS for timezone data , as immich does, and avoid creating unnecessary XMP sidecar #881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
paschun opened this issue Apr 11, 2025 · 0 comments

Comments

@paschun
Copy link

paschun commented Apr 11, 2025

In this scenario, there is a photo.jpg and its supplemental-metadata.json. The photo has embedded GPS data.

When they are uploaded, immich-go helps immich create a XMP sidecar that contains the time like so, filling in timezone from system if necessary.

 <rdf:Description rdf:about=''
  xmlns:exif='http://ns.adobe.com/exif/1.0/'>
  <exif:DateTimeOriginal>2016-12-16T16:53:35-06:00</exif:DateTimeOriginal>
 </rdf:Description>

The XMP sidecar is unneccessary, as immich will infer the correct time with timezone from the embedded GPS data. Exiftool is also able to do this with its composite "GPSDateTime".

[ExifIFD]       DateTimeOriginal                : 2016:12:26 19:53:35
[Composite]     GPSDateTime                     : 2016:12:27 00:53:22Z
[Composite]     GPSPosition                     : 35 deg 0' 43.86" N, 82 deg 33' 59.03" W

immich-go should avoid creating superfluous XMP sidecars if at all possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant