Skip to content
New issue

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

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

Already on GitHub? # to your account

XMP filenames don't always match what is expected #125

Closed
dlang123 opened this issue Jan 9, 2024 · 4 comments
Closed

XMP filenames don't always match what is expected #125

dlang123 opened this issue Jan 9, 2024 · 4 comments

Comments

@dlang123
Copy link

dlang123 commented Jan 9, 2024

I have imported thousands of photos over the years onto my discs using various programs, using lightroom a lot.

Usually what happens Is I get three files
image1.jpg
image1.raw (arw lately because of sony)
image1.xmp

From what I can tell and what I see from the output of the immich-go cli import

Scan of the sources:
 21729 files in the input
--------------------------------------------------------
 16371 photos
   391 videos
   305 metadata files
     0 files with metadata
     0 discarded files
   919 files having a type not supported
     0 discarded files because in folder failed videos
 17986 input total (difference 3743)
--------------------------------------------------------
  9080 uploaded files on the server
   142 upgraded files on the server
  7538 files already on the server
     0 discarded files because of options
     2 discarded files because duplicated in the input
     0 discarded files because server has a better image
     0 errors when uploading
 16762 handled total (difference 0)

It finds metadata files, but it doesn't seem to associate those together, unless I am just totally misreading this output. Looking at Immich itself, it seems to think that the sidecar xmp files will be named like :
image1.jpg.xmp
image1.arw.xmp

Which doesn't seem to be the case for any of the photos from various DSLR's I have imported over the years. Thoughts?

@simulot
Copy link
Owner

simulot commented Jan 9, 2024

It may have something incoherent with

   305 metadata files
     0 files with metadata

Also, you have the .jpg, the .raw and the .xmp. I don't know how the system behaves in such case.
Will the the xmp associated with the jpg, or the raw or both.

@dlang123
Copy link
Author

dlang123 commented Jan 9, 2024

It may have something incoherent with

   305 metadata files
     0 files with metadata

Also, you have the .jpg, the .raw and the .xmp. I don't know how the system behaves in such case. Will the the xmp associated with the jpg, or the raw or both.

It should associate with both.

@simulot
Copy link
Owner

simulot commented Jan 9, 2024

It's a question on immich server behavior

@simulot
Copy link
Owner

simulot commented Jan 14, 2024

I did some tests. immich-server doesn't associate one XMP to both jpg and raw.

I have implemented this behavior in immich-go. See the release note for details.

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

No branches or pull requests

2 participants