Post Reply 
Displaying half-star ratings
31-10-2023, 19:43 (This post was last modified: 31-10-2023 19:48 by DanielB.)
Post: #17
RE: Displaying half-star ratings
(31-10-2023 18:53)simoncn Wrote:  Please see Note 1 in this section for a description of how the mapping works. It is only performed for POP/POPM frames in ID3v2 tags when no TXX/TXXX:RATING frame is present. Other tagging formats (such as in FLAC files) use a RATING tag and there is no mapping for this.
That makes sense.

So if we're dealing with the standards (ignoring half-stars etc) then the logic to map to 5 stars from various sources would be (MP3 and FLAC):
1 and 20: 1 Star
2,64 and 40: 2 Stars
3,128 and 60: 3 Stars
4,196 and 80: 4 Stars
5,255 and 100: 5 Stars

Taking into account an already converted MP3 rating (by MinimServer) as well as the raw values.

Thank you so much.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Displaying half-star ratings - DanielB - 31-10-2023 19:43

Forum Jump:


User(s) browsing this thread: 1 Guest(s)