Sync Rating to XMP

I’m working between two computers (laptop on the go, desktop at home), so I rely heavily on the sidecar/xmp files being up to date.

I’ve noticed that the ratings will not update in the sidecar unless I do a manipulation to the image itself. I only recently noticed it when I wasn’t seeing some rating changes I had made while on the move and then went to edit at home.

Is there any way to force these kinds of changes to sync to the xmp?

Welcome to the community…

A few questions:

  • Are you always transferring the image and the XMP file together to your desktop?
  • Are you using “add to library…” or “copy & import…”?
  • Do you use the darktable db, or just XMP files?
  • For the ratings to be updated, is it sufficient to open the image in the darkroom, or do you also have to make a change?
1 Like

Ensure you have the xmp settings set to On Import and to look for XMP changes at start up.

https://docs.darktable.org/usermanual/4.2/en/preferences-settings/storage/

Sorry, I should have been more clear.

All my images are stored on a network share, that both computers have access to.
So my workflow is:

  1. copy & import on either computer
    1b) add to library on the other computer
  2. do ratings to decide which files to edit
  3. do edits

Steps 2&3 can happen on either computer. The issue shows up if 2 is done on one and 3 is done on another.

I use the darktable db + xmp. I have been trying to have the darktable.db on the network drive as well, but have been running into some odd issues with that.

The ratings only seem to update in the xmp file if I make a change to the image itself. Simply opening in the darkroom is not sufficient.

I have this set. The problem is the ratings don’t show up in the xmp file unless the image is also edited when the rating is applied.

There is a button in lighttable to manually write the xmp, have you tried that?

1 Like

I must be blind, can you tell me where? Closest I can figure is “resync local copy” but this does not write anything if all that’s changed is the rating.

This is what happens if you have the xmp settings to After Edit.

I keep my images in nextcloud and use the sync across multiple machines. When I open a dt in another machine, I get the xmp changed msg and I pick to update the DB with the xmp.

Ah! It is hiding under the history stack. Found it. Hitting this works

1 Like