For a file with exiftool -G -Title -Caption -ObjectName -ImageDescription -Description -UserComment -Comment Example.jpg [XMP] Title : XMP Title [XMP] Caption : XMP Caption [IPTC] Object Name : IPTC Object Name [EXIF] Image Description : EXIF Image Description [XMP] Description : XMP Description [EXIF] User Comment : EXIF UserComment [File] Comment : File Comment balooshow /home/john/Pictures/Example.jpg 181456703194138645 2069 42248681 /home/john/Pictures/Example.jpg Mtime: 1603917429 2020-10-28T20:37:09 Ctime: 1605025075 2020-11-10T16:17:55 Cached properties: Comment: File Comment Description: EXIF Image Description But title is not populated, so for programs like Dolphin which use it as a column header, they provide details for mp3s, pdfs, avis etc, but not jpgs. Could Baloo:Title be populated from XMP:Title, or one of the other fields? KDE installed on Mint 20, but running under MATE
Wrong component, metadata extraction is done by KFileMetaData. Please recheck with KF 5.75 and a current libexiv2 (>= 0.27.3).
Created attachment 133239 [details] Sample jpeg to see what metadata baloo extracts
Thanks for the quick reply. I don't think I can upgrade to those versions in Mint 20. I can confirm I have KFileMetaData 5.68 and libexiv2 0.27.2. I have attached Example.jpg so someone with more modern versions can see what baloo does with it. FYI https://api.kde.org/frameworks-api/frameworks-apidocs/frameworks/kfilemetadata/html/properties_8h.html has Title Refers to the Title of the content of the file. This can represented by the IDv1 tag TT2 (Title/songname/content description) or the TITLE in a PDF file or the 'dc:title' tag in DublinCore. and I can see from Digikam that the files has both XMP Title and XMP Description in the DublinCore section of the XMP metadata, so it looks like the metadata should be picked up
Changing status
I upgraded a virtual machine to Ubuntu 20.10 balooctl -v baloo 5.74.0 balooctl index Example.jpg balooshow Example.jpg and the results are the same as on Mint, only Comment and EXIF Image Description have been read into the baloo database, so no change libexiv2 0.27.3-3 kfilemetadata 5.74.0 I can see no prospect of getting versions newer than that
Git commit 06d98a1b9ad475332af12df7de503ee4bb93478f by Stefan Brüns. Committed on 16/11/2023 at 21:46. Pushed by bruns into branch 'master'. [Exiv2Extractor] Add support for XMP DC Title, Subject, Description The XMP Dublin Core metadata may contain title, subject and description values, extract it. Update JPEG, JXL and WebP test images to include Title and Subject. Related: bug 316766 M +17 -3 autotests/exiv2extractortest.cpp D +0 -25 autotests/exiv2extractortest.h M +- -- autotests/samplefiles/test.jpg M +- -- autotests/samplefiles/test.jxl M +- -- autotests/samplefiles/test.webp M +25 -0 src/extractors/exiv2extractor.cpp https://invent.kde.org/frameworks/kfilemetadata/-/commit/06d98a1b9ad475332af12df7de503ee4bb93478f
Waiting for confirmation