<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>I use sidecars for raw image files incl. DNG and video files e.g. MP4 'cause exiv2 isn't capable of writing into them.</div><div><br></div><div>To be honestly I am not sure if digikam reads xmp on startup. I did not see any setting in digikam to set priorities for 1. Database 2. Sidecars 3. Embedded metadata.</div><div><br></div><div>I might be wrong on this one but I think as long as you don't click "read metadata from sidecars" digikam won't see any changes.</div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Remco Viëtor <remco.vietor@wanadoo.fr> </div><div>Date: 2018-01-07  6:49 AM  (GMT-07:00) </div><div>To: digiKam - Home Manage your photographs as a professional with the power of open source <digikam-users@kde.org> </div><div>Subject: Re: Lightroom to DigiKam: reading xmp files </div><div><br></div></div>On dimanche 7 janvier 2018 13:56:19 CET Gilles Caulier wrote:<br>> yes, this can be done for reading, with a priority :<br>> <br>> 1/ old naming scheme.<br>> 2/ new naming scheme (LR)<br>> <br>> ... or vis versa.<br>> <br>> But the problem is not here. Look well my comment #11<br>> <br>> https://bugs.kde.org/show_bug.cgi?id=278935#c11<br>> <br>> Gilles Caulier<br>> <br><br>Oh, I realise that in the case of multiple existing sidecars with the same <br>basenam you have a problem. Solvable in theory (XMP allows combining sidecar <br>data for several image files/formats in one sidecar), but complicated to <br>implement.<br><br>But, why do you have sidecar files in the first place?<br>In Digikam, as I see it, the main use is as an external place to save metadata <br>linked to raw files (which are in principle unwritable safely). If you decide <br>that you don't need to use a sidecar for jpeg, tiff, png, the problem would <br>basically go away in a large part. So you could decide to have the <br><basename>.xmp scheme refer to raw files only. The more so as any information <br>about editing operations is inherently non-portable to other programs anyway.<br><br>Basically, the problem seems to be adapting Digikam to play nice with other <br>programs. While that's always a good thing, how many users are in that <br>position, other than e.g. a one-time import from lightroom to Digikam?<br><br>And some other points:<br>- https://discuss.pixls.us/t/linux-applications-and-their-non-standard-xmp-sidecar-naming-convention/2688 gives rules about the naming of sidecar files, <br>but those are specified for /each/ base format, /not/ in a general rule. That <br>document deals principally with /embedding/ XMP data in other files, and <br>sidecars are mentioned more or less in passing; when you have no other option<br>(e.g. MP2 files which don't provide for embedding XMP metadata).<br><br>I cannot conclude /from that document/ that the scheme "<basename>.XMP" is the <br>*official* standard way of naming sidecar files (I don't have access to the ISO <br>standard documents).<br><br>- LR seems to use sidecars for raw files *only*, not for .jpg, .dng and other <br>writable formats.<br><br>Both seem to indicate that sidecars are considered a last option when the <br>metadata cannot be embedded/added/modified, and in that case "<basename>.XMP" <br>works (as most derived formats *can* embed the XML data)<br><br>Remco<br><br>> 2018-01-07 13:52 GMT+01:00 Remco Viëtor <remco.vietor@wanadoo.fr>:<br><...><br>> > <br>> > Going to a naming scheme of "<basename>.xmp" instead of "<basename>.<orig-<br>> > ext>.xmp" could break compatibility with Darktable, a raw convertor/editor<br>> > that's used by several users active here.<br>> > <br>> > But can't you have a system where "<basename>.xmp" is used when there is<br>> > no<br>> > eligible sidecar with the other possible name present? (i.e. first check<br>> > for<br>> > presence of a sidecar with current naming, if not found try<br>> > "<basename>.xmp")<br>> > <br>> > Remco<br><br><br></body></html>