SUMMARY *** Previously the image name format and sidecar XMP format was: image.jpg image.xmp Since I updated from 7 t 8 it has now changed to: image.jpg image.jpg.xmp While I don't think either is right or wrong, I now need to find a way to rename 140,000 sidecar files, I would appreciate some method to choose the format moving forward, or to have both be supported. *** STEPS TO REPRODUCE 1. Have an image named "image.jpg" and "image.xmp" in Digikam 7. 2. Import Metadata and it will find the accompanying sidecar file correctly. 3. Update to Digikam 8 and add a new "image.jpg" and "image.xmp" duo, Digikam won't find any accompanying sidecar file. OBSERVED RESULT Digikam doesn't detect any XMP sidecar files in this name format. EXPECTED RESULT Digikam detects and imports metadata from XMP sidecar files that match the image name without the extension. SOFTWARE/OS VERSIONS Ubuntu: Ubuntu 22.04.2 LTS x86_64 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.7 (built against 5.15.7) ADDITIONAL INFORMATION Digikam rocks
Hi, The format still the same, just the file extension can be customized in Setup/Metadata/Sidecars digiKam dialog page. Look the online documentation for details: https://docs.digikam.org/en/setup_application/metadata_settings.html#sidecars-settings Best regards Gilles Caulier
(In reply to caulier.gilles from comment #1) > Hi, > > The format still the same, just the file extension can be customized in > Setup/Metadata/Sidecars digiKam dialog page. Look the online documentation > for details: Hi Giles, The customisable extension is not read or written to, it's just included in file move operations. It says this in the picture of the documentation you've linked. Only the default xmp file extension can be read or written to. In the dialogue there is a option for "Sidecar file names are compatible with commercial programs", but this is only selectable when I also tick "Write to sidecar files" which I am not enabling, I only want to Read from them, of which the format is not customisable. In addition, attempting to add "xmp" into the file extension dialogue doesn't work, after I click OK, the settings window will close, the next time I re-open my additions are missing, Digikam doesn't read any new files either, but this might be a separate issue the log says this: ``` Digikam::SetupDatabase::applySettings: No DB settings changes. Do nothing... QtAV::AVPlayerConfigMngr::setDecoderPriorityNames: decoderPriority not changed QtAV::AVPlayerConfigMngr::Data::save: sync end Digikam::ExifToolProcess::slotApplySettingsAndStart: ExifTool config path: "/usr/local/bin/exiftool" Digikam::ExifToolProcess::slotApplySettingsAndStart: ExifTool config path: "/usr/local/bin/exiftool" ```
Git commit b49ecdefcdfce8fa918d8a9c1ec7e73e759b77aa by Maik Qualmann. Committed on 02/05/2023 at 16:47. Pushed by mqualmann into branch 'master'. enable compatible sidecar filename checkbox also in the read only mode FIXED-IN: 8.1.0 M +15 -0 core/utilities/setup/metadata/setupmetadata.cpp M +1 -0 core/utilities/setup/metadata/setupmetadata.h M +0 -3 core/utilities/setup/metadata/setupmetadata_sidecars.cpp https://invent.kde.org/graphics/digikam/commit/b49ecdefcdfce8fa918d8a9c1ec7e73e759b77aa
As a workaround up to digiKam-8.1.0 enable writing of sidecars, enable compatible file names and disable writing of sidecars again. Maik
(In reply to Maik Qualmann from comment #4) > As a workaround up to digiKam-8.1.0 enable writing of sidecars, enable > compatible file names and disable writing of sidecars again. > > Maik Brilliant, thanks for your help