Controlling Metadata on Export (StarRating)?

I am using darktable on a new Mac.

I use star ratings as a part of my workflow; an images rating can change from minute to minute.
After exporting images at a certain resolution and deleting the originals I re-imported them just to see the new imports had the original star ratings. This confused me as I used 2 stars to signify images to be exported and deleted.

After looking around I see that under the IPTC metadata there is indeed a StarRating.
I have spent a good amount of time trying to get rid of that on export [or change it to 3 on the export level].

Does anyone know how to get finer grain access to export metadata manipulation?

Hi, you can control export metadata from the export module: darktable user manual - export

I have a slightly different question that could also fit under this heading. Can I automatically add a star or color rating on export? I would find this helpful for my workflow but I presume it is not a practical option.

A Lua script could probably do it.

1 Like

I.m not at my computer right now bur doesn.t a “exported” tag get added on export and could this do the job for you?

So when setting which metadata to export I figured out selecting nothing means it will export what i guess are defaults.
When setting only to EXIF I still get a StarRating in the photo metadata.
The documentation doesn’t show names of what is and isn’t saved or how to edit it; at a minimum I can’t find it.

In the manual it says:

To prevent a specific metadata field from being exported, add it to the list and leave the formula empty.

I tried Xmp.xmp.rating and other .rating metadata, but the StarRating is always saved to my final image.

Does anyone know if the default exported variables are documented anywhere?