I set up digikam to write metadata only to xmp sidecar files and also checked "Rescan file when files are modified". However, changes in xmp sidecar files are not detected (not when digiKam is running and also not when restarting it). Reloading metadata works when the actual image is changed: exiv2 -M"set Xmp.xmp.Rating 3" IMG.JPG -> Rating is instantly updated in digiKam. When setting a rating in digikam and then using a text editor to change xmp:Rating in the xmp sidecar, the rating is not updated automatically. When triggering "Reread Metadata From File" manually or running "touch IMG.JPG", the rating is updated. Due to the last observation I would guess that the mtime of the xmp file is currently not stored in the database. Fixing this would make interoperability with other applications so much better. (tested using the 6.0.0-beta1 AppImage, but also previously observed with 5.9.0)
This is a duplicate of bug 397340 and bug 339342. Yes, the sidecar file is not stored in the database, we can not know if it has changed. Maik
Sorry, I tried to search for duplicates, but apparently not using the right terms. Is there are reason you didn't mark this bug as a duplicate?
Git commit 9c77203fdc10cd59aa0ba645ab3fde7f774dbaf2 by Maik Qualmann. Committed on 13/09/2018 at 19:47. Pushed by mqualmann into branch 'master'. store as modification date always the most recent from the image or the sidecar Related: bug 397340, bug 380341, bug 339342 FIXED-IN: 6.0.0 M +5 -2 NEWS M +14 -1 core/libs/database/collection/collectionscanner.cpp M +14 -1 core/libs/database/item/imagescanner.cpp https://commits.kde.org/digikam/9c77203fdc10cd59aa0ba645ab3fde7f774dbaf2