[digiKam-users] Change in metadata engine

Marc Palaus marcpalaus at hotmail.com
Tue Nov 30 22:13:20 GMT 2021


I ran some test using the same database in Digikam 7.3, and I noticed 
the same behavior, so it's probably not something that happened from 
digikam 7.3 and 7.4. Most of these pictures were first tagged using 
digikam 5.9 or digikam 6.0, and they were lacking most XML metadata. 
However, previous versions of digikam put them in their correct place 
within the hierarchy, for some reason it don't fully understand. I still 
have to check if merging a tag with the one in the proper place of the 
hierarchy writes all the necessary XML metadata so the problem does not 
reappear with that picture.

In any case, the issue with the keywords in iPhone pictures is still 
there and it's quite annoying, since the only workaround I have found is 
to complete recreate the metadata for the images using exiftool outside 
digikam.

El 30/11/21 a les 14:25, Marc Palaus ha escrit:
>
> Hi Gilles,
>
> Both, in the metadata viewer, it is as if there was no metadata 
> regarding keywords (only the face regions seem to be there), so the 
> only references to keywords are in IPTC and EXIF. And in the tags 
> hierarchy, the keywords appear as a play list, having lost its 
> hierarchy (makes sense, since only XMP metadata stores hierarchy). 
> Maybe the metadata was wrong all along, and only now digikam has read 
> it correctly, but I suspect the way XMP metadata is interpreted 
> changed between digikam 7.3 and 7.4.
>
> Also, I don't know if it's related or not, but pictures taken with 
> iphones seem to be problematic since digikam 7.4, with metadata not 
> being written correctly into the file. I suspect it's only those 
> containing faces, but I can't say for sure. Even if you correct it 
> manually in digikam, metadata is not saved correctly to XMP, and tags 
> also appear as a flat list without hierarchy. I believe it correspond 
> to this bug report: https://bugs.kde.org/show_bug.cgi?id=436286
>
> I store all my metadata changes in the pictures themselves (which is 
> synced with the metadata), and I use a sqlite database stored in the 
> local hard drive. I am using digikam Build date: 30/11/21 10:27 
> (target: Debug) Rev.: 3d2d9c9df3d9b8940502e89b83d39ce74a335754 
> <https://invent.kde.org/graphics/digikam/commit/3d2d9c9df3d9b8940502e89b83d39ce74a335754> 
> that I installed via flatpak.
>
> El 29/11/21 a les 23:55, Gilles Caulier ha escrit:
>> Hi,
>>
>> Where did you see these changes exactly ? In the XMP metadata viewer 
>> or the tags hierarchy from the right side bar ?
>>
>> The metadata engine is Exiv2 shared library, and yes, it has been 
>> released to last 0.27.5. This can have an effect on metadata viewer 
>> contents.
>>
>> Else, the tags hierarchy come from the database ? Wish dtatabse type 
>> and version did you use exactly ?
>>
>> Best regards
>>
>> Gilles Caulier
>>
>> Le lun. 29 nov. 2021 à 23:42, Marc Palaus <marcpalaus at hotmail.com 
>> <mailto:marcpalaus at hotmail.com>> a écrit :
>>
>>     Hi,
>>
>>     I noticed that today when I launched digikam (just updated via
>>     flatpak),
>>     a few pictures lost their hierarchy in the tags, and their tags
>>     appeared
>>     as being the same level. It happened to pictures that were not
>>     modified
>>     for 4 or 5 years. Has there been any change in the metadata engine,
>>     possibly interpreting XML metadata differently than it used to
>>     until now?
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20211130/218b34c5/attachment-0001.htm>


More information about the Digikam-users mailing list