Closed bill-mcgonigle closed 10 years ago
My understanding of the spec is "unrated" = "tag not found", not 0.0, so I changed our code to not write anything in this case.
Thanks for reporting the issue btw :)
Agreed - I misread the spec back when I filed this. Thanks for the fix!
I'm writing a little command line tagger for my FLAC files (since key shortcuts are currently broken under KDE, #1485) and when I parse the Vorbis comments for FMPS_RATING, I'm seeing a value of -1 for unrated files.
With Audio::FLAC:Header (perl/CPAN):
and metaflac:
I can see why '-1' might be useful as 'unrated' but it appears to violate the FMPS Spec:
I can certainly work with this for my needs, but we should adhere to the spec and omit the tag if a file is not rated to promote interoperability. I'm assuming 0.0 is the semantic value for 'explicitly untagged' and 0.1 would indicate the 'worst rating' under FMPS. I believe in Clementine one can click to the left of the 1st star to set a 0-star rating. I'm unaware of whether this is tracked as being different than unrated.