#GPS location from sidecar files not being picked up?

1 messages · Page 1 of 1 (latest)

orchid bough
#

I have created sidecar xmp files with GPS location now. I have also re-run the sidecard metadata job. But I dont see the corresponding images on the map.

This is a sample sidecar file I added

 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   <rdf:Description rdf:about="" xmlns:exif="http://ns.adobe.com/exif/1.0/">
     <exif:GPSLatitude>13,45.378N</exif:GPSLatitude>
     <exif:GPSLongitude>100,30.108E</exif:GPSLongitude>
   </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>

For p8040801.jpg, the file is named p8040801.xmp

Anything wrong with the XMP?

rose oracleBOT
#

:wave: Hey @orchid bough,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

rose oracleBOT
orchid bough
#

Is the sidecar metadta job not sufficient? I mean, will this job only discover the XMPs but not parse them? So that I have to run the Extract Metadata job afterwards to actually read those XMPs?

zinc stratus
#

Indeed

orchid bough
# zinc stratus Indeed

So when I have added or edited sidecar XMPs, I will need to first run:

Sidecar Metadata --> Sync (or is Discover sufficient?)

Then run

Extract Metadata --> All (or is Missing sufficient?)

zinc stratus
#

I'll check the code later but yeah that sounds right

orchid bough
#

OK. It actually seems that one of the sidecar jobs spins off an extract metadata job automatically?

#

Anyway, is Sidecar Sync or Discover the best job for this?

#

Would be nice with a little help text explaining what each of them does. I am fairly tech savvy, and I am not sure what the difference is.

zinc stratus
orchid bough
#

I just tried this:

Sidecar Metadata --> Sync (or is Discover sufficient?)

Then run

Extract Metadata --> All (or is Missing sufficient?)

And still not visible on the map

#

Is the XMP OK? Or does immich require some specific namespaces, etc?

orchid bough
# zinc stratus It's explained in https://immich.app/docs/features/xmp-sidecars

Right. I propose that the following improvement be made to the UI: A small explanatory text like this is added, either in the job description or as a mouse-over tooltip-hint:

The sync job will re-scan all media with existing sidecar files and queue them for a metadata refresh. The discover job will attempt to scan the filesystem for new sidecar files for all media that does not currently have a sidecar file associated with it.

orchid bough
orchid bough
#

Do I have to do anything special when this is on an external library?

ashen relic
#

Did you try a scan of the external library?

orchid bough
#

Yes. I will try again. Is this order correct?

Scan ext lib
Sidecar: Discover
Sidecar: Sync

And this is all there is needed, right? Extract Metadata should not be needed as this should be triggered by the sidecar jobs?

ashen relic
#

extract is for info in the files themselves, yes

orchid bough
#

Does the Transcode job do anything regarding metadata for videos? It seems to not update metadata for videos. Not sure if it means I need to transcode again?

#

Anyway, I seem to not be able to make it read my GPS XMPs

#

Did I make any errors in the format of the XMPs above?

ashen relic
#

I couldn't tell you, I don't use them, that's why I suggested making an edit through the GUI and comparing

#

And no, transcodes shouldn't do anything regarding metadata