Skip to content

feat: occ starrate:import-xmp command (Issue #19)#23

Open
merlin1de wants to merge 4 commits intomasterfrom
feat/issue-19-xmp-import
Open

feat: occ starrate:import-xmp command (Issue #19)#23
merlin1de wants to merge 4 commits intomasterfrom
feat/issue-19-xmp-import

Conversation

@merlin1de
Copy link
Copy Markdown
Owner

Summary

  • New OCC command: occ starrate:import-xmp <user> <folder>
  • Reads xmp:Rating, xmp:Label, photoshop:LabelColor and EXIF Rating from JPEG files
  • Imports into StarRate's Collaborative Tags database
  • Skips already-rated files by default; use --overwrite to force update
  • Progress shown every 100 files; individual filenames only with -v
  • Supports German label names (Rot, Gelb, Grün, Blau, Lila)
  • Not recursive — one folder at a time

Do not merge

  • Do not merge into master until explicitly approved

Closes

Closes #19

Merlin added 4 commits April 11, 2026 13:46
…19)

- occ starrate:import-xmp: liest xmp:Rating/xmp:Label aus JPEGs und
  schreibt sie in die StarRate-Tags-Datenbank (--dry-run, --skip-existing)
- EXIF-Rating-Fallback: liest IFD0:Rating wenn kein XMP vorhanden (digiKam)
- XmpService: parst photoshop:LabelColor (Prio 1) und xmp:Label (Prio 2),
  inkl. deutscher LR-Labels Rot/Gelb/Grün/Blau/Lila → Red/Yellow/Green/Blue/Purple
- ColorLabel: 'v'/'V' als Shortcut für Purple ergänzt (wie Lightroom)
- ExifService: ungenutzte Injektion aus GalleryController entfernt
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 this pull request may close these issues.

Feature: Import existing XMP ratings from Lightroom/external tools

1 participant