Skip to content
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

Tags from Capture One are not separated #12403

Closed
2 of 3 tasks
nicokaiser opened this issue Sep 6, 2024 · 7 comments · Fixed by #12509
Closed
2 of 3 tasks

Tags from Capture One are not separated #12403

nicokaiser opened this issue Sep 6, 2024 · 7 comments · Fixed by #12509

Comments

@nicokaiser
Copy link

The bug

Capture One seems to export keywords as HierarchicalSubject in a way different than what Lightroom does:

 <rdf:Description rdf:about=''
  xmlns:lr='http://ns.adobe.com/lightroom/1.0/'>
  <lr:hierarchicalSubject>
   <rdf:Bag>
    <rdf:li>Conference</rdf:li>
    <rdf:li>International conference</rdf:li>
    <rdf:li>JS Kongress 2017</rdf:li>
    <rdf:li>JSK17</rdf:li>
    <rdf:li>München</rdf:li>
    <rdf:li>Munich</rdf:li>
   </rdf:Bag>
  </lr:hierarchicalSubject>
 </rdf:Description>

Immich seems to interpret this as one tag: Conference,International conference,JS Kongress 2017,JSK17,München,Munich
I don't know if this should be saved differently by Capture One, but this behaviour leads to many very long Immich tags for every combination of exported keywords...

The OS that Immich Server is running on

Debian

Version of Immich Server

v1.114.0

Version of Immich Mobile App

v1.113.1

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

default docker-compose.yml

Your .env content

default .env

Reproduction steps

  1. Open a photo in Capture One
  2. Apply multiple keywords to the photo
  3. Export as JPEG
  4. Import to Immich
  5. The Photos has only one tag which contains all of the keywords at once

Relevant log output

No response

Additional information

I can provide a full JPEG file and/or XMP if necessary

@smoltron
Copy link

smoltron commented Sep 7, 2024

The same happened to my 70000 photos. I ran metadata update to all and now the tags are not separated any more. What is strange that these tags are originally set by Lightroom. The result is that tags are not usable any more.

@jrasm91
Copy link
Contributor

jrasm91 commented Sep 9, 2024

Sorry about that. This should be fixed with #12509.

@smoltron
Copy link

While it may be fixed, my database stays corrupted. How can we clean the faulty tags and recreate them again? Exctract metadata/All did not delete the faulty tags.

@dlang123
Copy link

A nice "Delete all empty tags" some place would possibly be nice for the future.

@jrasm91
Copy link
Contributor

jrasm91 commented Sep 13, 2024

A nice "Delete all empty tags" some place would possibly be nice for the future.

Yeah, we can definitely add something like this.

@nicokaiser
Copy link
Author

Yeah, we can definitely add something like this.

So this would be a new feature request, like "auto cleanup tags with no images"? Or can this be done in a trivial DB query?

@bo0tzz
Copy link
Member

bo0tzz commented Sep 25, 2024

Already implemented in #12654

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

Successfully merging a pull request may close this issue.

5 participants