Jade_NL
(Jacques)
January 21, 2023, 5:00pm
5
There seems to be an open issue with the rating system with setting an initial rating:
opened 03:10PM - 06 Jan 23 UTC
during import 'ignore Exif rating = TRUE ' is ignored for raw files containing X… MP.xmp.Rating so during import the custom set 'initial rating' value is ignored:
![image](https://user-images.githubusercontent.com/39386816/211028699-ecbc37e6-44b3-4a62-8e7d-61b9fef3ca5c.png)
**To Reproduce**
1. set "add to library" preferences: check 'ignore exif rating' & set initial rating to 2 (some cameras uses a default rating 1)
2. add cr3 file to library (e.g. https://raw.pixls.us/getfile.php/4662/nice/Canon%20-%20Canon%20EOS%20R6%20-%203:2.CR3)
3. check initial rating: 0 stars
some further checks:
Canon 5DmIV rating **not ok** (contains XMP.xmp.Rating 0): https://raw.pixls.us/getfile.php/983/nice/Canon%20-%20EOS%205D%20Mark%20IV%20-%20RAW%20(3:2).CR2
Nikon Z6 rating **not ok** (contains XMP.xmp.Rating 0): https://raw.pixls.us/getfile.php/3581/nice/Nikon%20-%20Z%206%20-%2014bit%20compressed%20(3:2).NEF
Nikon D7200 rating **ok** (doesn't contain XMP.xmp.Rating): https://raw.pixls.us/getfile.php/832/nice/Nikon%20-%20D7200%20-%2014bit%20compressed%20(Lossless)%20(3:2).NEF)
**Which commit introduced the error**
need to bisect - checked my older builds: issue was introduced between 20.10. (darktable-4.1.0+719\~g9ec4d3dce) and 06.11. (darktable-4.1.0+860\~g64a61e52e)
**Platform**
* darktable version : > darktable-4.1.0+860~g64a61e52e
* OS : OSx
I just checked and setting an initial rating is ignored on my Z6ii.
As a side note: You should be able to override what the camera might set as a rating using the ignore EXIF rating setting and thus apply what is set byt the initial rating .
EDIT: This is true for both stable 4.2.0 and the latest development (4.3.0+275~g2d51f435b)