ImmichI
Immich3y ago
krueg

A few XMP usage questions

After reading the documentation and latest release notes (1.58.0), I have a few questions related to usage of XMP sidecars:

(1) Updating date metadata
If I have an existing photo that has an incorrect created_date exif data. It sounds like I can use xmp files to update the date, either by creating a new xmp file within the existing file system and running the DISCOVER job, or by updating the existing xmp file within the existing file system and running the SYNC job. This will then queue metadata refresh.
  • In order to update the file structure (since the created_date was updated), will I need to run the STORAGE MIGRATION job or is that part of the queued metadata refresh?
(2) How are xmp files handled during bulk cli upload for duplicates?
Consider the following use cases:

(2a) I have an existing asset foo.jpg with no existing xmp file in immich. If I upload a duplicate file and as part of upload and there is also a new xmp file (<newXmpFile>), how will the xmp files be resolved?
  • will <newXmpFile> be uploaded to the existing asset?
  • will these assets not be treated as duplicate?
(2b) I have an existing asset bar.jpg with and existing bar.jpg.xmp file in immich. If I upload a duplicate file and as part of upload and there is also a new xmp file (<newXmpFile>), how will bar.jpg.xmp and <newXmpFile> be resolved?
  • will <newXmpFile> overwrite the existing bar.jpg.xmp for the existing asset?
  • will these assets not be treated as duplicates?
Was this page helpful?