wallace1837 wrote in post #17868667
Some water under the bridge...
Now I have extracted the list of files and their rating. I can write the rating to the jpg with exiftool.
Unfortunately, Shotwell does not "refresh" the rating after it is written to the file!
Anyone knows a trick?
I'm not sure I follow your problem. From what you seem to be saying you used Shotwell to add metadata to your images, in the form of a rating. Shotwell recorded this data to its own SQLite database (I think Adobe Lightroom is also based on SQLite), but fails to write it to the actual file. But you have managed to extract the details of the file and the rating from the database by manually querying the table. Having pulled this data from the table you have fed it to Exiftool and updated the actual image file.
Now surely you have no problems, the data is still in the SQLite database that is used by Shotwell, so shotwell can still happily do it's stuff. Your images also have this data stored internally thanks to what you did with Exiftool, so when you try importing the image file into another DAM application the new program will be able to read that data from the file, and incorporate it into whatever system it uses. Why do you need Shotwell to do anything more?
Alan