<div dir="ltr"><div><div><div><div>Hi!<br><br>Since I don't find the data in the .xmp with niether exiv2 nor exiftool, it seems like a problem to write. The .cmp is created by digikam though, so it writes something. But not the tags which it writes to a jpg-file as it seems. It can of course also be that those two programs cannot extract that specific data, but even if so digikam should be able to.<br><br>Regarding reading metadata it is the same for jpg as for xmp, digikam doesn't re-read metadata of a file in that is present in its database unless manually told to. It won’t automatically recognize that a file is updated outside digikam.<br>(Also, when triggered to re-read digikam appends the metadata of the file to the metadata already in the database, i.e. it is not possible to delete a tag outside digikam and expect it to disappear when re-reading the metadata. As designed.)<br><br><br></div></div>BR<br></div></div>Anders<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-22 17:34 GMT+02:00 Martin (KDE) <span dir="ltr"><<a href="mailto:kde@fahrendorf.de" target="_blank">kde@fahrendorf.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo<br>
<br>
So is it a problem in writing the xmp file or reading from them on the<br>
new location?<br>
<br>
I have simmilar problems. Digikam writes xmp files quite fine, but never<br>
reads from xmp automatically if they are changed by another program<br>
(like darktable). I have to sellect the album/file and hit reread<br>
metadata from external file to get it working.<br>
<br>
I hope this will be fixed in upcomming digikam 5.<br>
<br>
Regards<br>
Martin<br>
<span class=""><br>
<br>
Am 22.05.2016 um 17:01 schrieb Anders Kamf:<br>
> Hi,<br>
><br>
> Thanks for your reply Tobias! I'm afraid it doesn't solve the problem or<br>
> answers the questions though.<br>
><br>
> I indeed write meta data to JPG files, including tags, have done so<br>
> since 2009 and it works very well. Sidecar files are created by digikam<br>
> for files it cannot write meta data into, e.g. video files, the settings<br>
> was described in my initial post. It is from those Filename.mp4.xmp or<br>
> Filename.mov.xmp I have tried with both exiv2 and exiftool to extract<br>
> the tags.<br>
><br>
> I'm moving files from my laptop to my server once I have done tagging<br>
> etc (laptop is used because I travel a lot). I usually use rsync, i.e.<br>
> the move is done outside digikam. The photo collection on my servers is<br>
> accessed with "another" digikam from a desktop PC (Windows) and from a<br>
> stand alone Ubuntu (both with setting "Read from sidecar files)". Both<br>
> have their own digikam database, hence all the meta data needs to travel<br>
> with the files.<br>
><br>
> The main question, I'd guess, is whether to expect that the meta data of<br>
> the xmp file corresponds to the one of the jpg file in terms of tags,<br>
> rating etc.?<br>
><br>
> Regards<br>
> Anders<br>
><br>
><br>
> 2016-05-22 15:31 GMT+02:00 Tobias Margiani <<a href="mailto:margianit@gmail.com">margianit@gmail.com</a><br>
</span>> <mailto:<a href="mailto:margianit@gmail.com">margianit@gmail.com</a>>>:<br>
<div><div class="h5">><br>
> Hi,<br>
><br>
> I'm not sure if I understand your problem correctly. Are XMP files<br>
> created but<br>
> without (the right) content or are there no XMP files at all (you<br>
> could check<br>
> that with a file manager)?<br>
> I don't use XMP files normally so there might be people who know all<br>
> this<br>
> better but from a few quick tests it looks like exiftool only reads<br>
> xmp files<br>
> if you pass them as argument directly and not if you try to read<br>
> tags from an<br>
> image file (e.g. if you have image.jpg and image.xmp you have to use<br>
> "exiftool<br>
> image.xmp" to read the tags). In my checks there is a "Tags List" entry<br>
> showing the digikam tags.<br>
> To comment on you problem when moving the files. If you only moved<br>
> image files<br>
> the metadata might indeed be lost but if you have moved the whole<br>
> folder the<br>
> xmp files could still be there! So check with a file manager. That<br>
> the tags<br>
> aren't read by digikam may result from your configuration. Are you<br>
> sure that<br>
> you've configured digikam to read metadata from sidecar files.<br>
> Another source of this problem may be that you haven't configured<br>
> digikam to<br>
> write Tags into file at all. You can check in the metadata tab what<br>
> information<br>
> is written to the files.<br>
><br>
> I hope some of this could help.<br>
> Regards<br>
> Tobias<br>
><br>
> Am Samstag, 21. Mai 2016, 10:12:13 CEST schrieb Anders Kamf:<br>
> > Hi!<br>
> ><br>
> > I have the setting "Write to sidecar files": "Write to XMP sidecar<br>
> file for<br>
> > read-only image only", which creates xmp sidecar files for the<br>
> movie files<br>
> > that are in my collection.<br>
> > Now, I thought that this would mean that the tags applied to those<br>
> movies<br>
> > was written to the XMP sidecar file. But that seems not to be the<br>
> case! I<br>
> > now realise that at least neither exiv2 nor exiftool finds those tags.<br>
> > Also, when I access the file from "another" digikam on another<br>
> computer, no<br>
> > metadata seems to be found.<br>
> ><br>
> > If this is true, it means that all metadata for those files have<br>
> been lost<br>
> > when I have moved the files outside Digikam (to another server), which<br>
> > truly is a sad awakening.<br>
> ><br>
> > Is this the intended behaviour, or is it a bug? Or am I doing<br>
> something<br>
> > wrong (a user-fault...)?<br>
> ><br>
> > I'm using digikam 4.14.10 on Ubuntu 15.10.<br>
> ><br>
> > Best regards<br>
> > Anders<br>
><br>
><br>
> _______________________________________________<br>
> Digikam-users mailing list<br>
</div></div>> <a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a> <mailto:<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a>><br>
> <a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Digikam-users mailing list<br>
> <a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
><br>
<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</div></div></blockquote></div><br></div>