[Digikam-users] Import XMP in digiKam

Dmitri Popov dmpop9mm at yahoo.com
Fri Jul 12 17:27:38 BST 2013


Thank you for your suggestions, Gilles. I'll give it a try over the weekend, and report back on the results.

Best,
Dmitri


________________________________
 From: Gilles Caulier <caulier.gilles at gmail.com>
To: Dmitri Popov <dmpop9mm at yahoo.com>; digiKam - Home Manage your photographs as a professional with the power of open source <digikam-users at kde.org> 
Sent: Friday, July 12, 2013 12:06 PM
Subject: Re: [Digikam-users] Import XMP in digiKam
 

Hi Dmitri,

I suppose that you turn on XMP sidecar supports in digiKam/Metadata
setup page... At least "Reading from sidecar files" option must be
enabled.

If your image is already imported, force digiKam to read-metadata
after to change metadata settings. Go to AlbumGUI/Captions&Tags right
sidebar, select you images and run "More/Read Metadata..." (button on
bottom of sidebar).

Note : for a huge images collection to process after to changes
Metadata settings, just use relevant Maintenance tool. Warnings, this
can take a while of course.

If it doesn't work it can be a typo rules to adjust in XMP metadata parser.

As XMP metadata managed by application are a big puzzle (XMP is not a
puzzle, only the way that applications use it), i suspect that rating
and tags imported use a different typo than current digiKam import
implementation.

I personalty implemented the LR wrapper in digiKam metadata parser. I
remember to have patched it multiple time due to a typo syntax error
to decode these tags from XMP.

As XMP is XML based text file, it's easy to hack.

Open sidecar file and search where tags and rating are registered in
XMP. Typically for LR, digiKam check these tags :

- Xmp.lr.hierarchicalSubject
- Xmp.lr.HierarchicalSubject

... for keywords (note the typo !)

- Xmp.xmp.Rating
- Xmp.MicrosoftPhoto.Rating

... for rating (there is no LR tags dedicated)

Best

Gilles Caulier

2013/7/12 Dmitri Popov <dmpop9mm at yahoo.com>:
> Hello,
>
> I'm using the RawDroid app on an Android device to assign color labels and
> ratings to RAW files when I'm on the move. The app stores these data in
> Adobe Lightroom-compatible XMP sidecars. I'd like to import labels and
> ratings into RAW files after I've transferred them to digiKam. I tried the
> Import XMP feature in digiKam to import the sidecars generated by RawDroid,
> but neither labels nor ratings were transferred. Am I doing something wrong?
>
> Thank you!
>
> Best,
> Dmitri
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20130712/bdec31ee/attachment.html>


More information about the Digikam-users mailing list