Post Reply 
Displaying half-star ratings
03-02-2023, 20:41
Post: #1
Displaying half-star ratings
Hello,

I have a question regarding the RATING-tag. I'm using MusicBee for tagging the rating, and as I understand it, the value is saved as a number from 1-255 in the POPM-tag. All my file are MP3.

The POPM-tag is mapped to RATING in MinimServer and at the same time translated to a value from 1-5 (classical "star"-rating). But, as MusicBee allows a more granular rating (including "half stars"), I would like to have this reflected in MinimServer as well.

Is there a way to achieve this? I tried experimenting with the "tagUpdate"-feature, but it seems that it uses the RATING-value after it was converted.

Any help is appreciated.

Best regards
Lakorus
Find all posts by this user
Quote this message in a reply
03-02-2023, 23:15
Post: #2
RE: Displaying half-star ratings
The mapping from POPM to RATING is fixed and cannot be changed. It is designed to handle different schemes for how the 1-255 range is used by different tagging programs and produce a reasonable 1-5 value.
Find all posts by this user
Quote this message in a reply
04-02-2023, 17:00
Post: #3
RE: Displaying half-star ratings
(03-02-2023 23:15)simoncn Wrote:  The mapping from POPM to RATING is fixed and cannot be changed. It is designed to handle different schemes for how the 1-255 range is used by different tagging programs and produce a reasonable 1-5 value.

Thank you for clarifying this.

I guess a workaround could be if I would copy the POPM to a custom tag, add this custom tag to MinimServer and "translate" the content via tagUpdate. Correct?
Find all posts by this user
Quote this message in a reply
04-02-2023, 18:16
Post: #4
RE: Displaying half-star ratings
Yes, that should work.
Find all posts by this user
Quote this message in a reply
05-10-2023, 08:36
Post: #5
RE: Displaying half-star ratings
(03-02-2023 23:15)simoncn Wrote:  The mapping from POPM to RATING is fixed and cannot be changed. It is designed to handle different schemes for how the 1-255 range is used by different tagging programs and produce a reasonable 1-5 value.

Hi Simon,

Could you clarify what POPM values we should use in order for minimserver to recognise a half star values..

For example, what POPM value will map to 3.5 stars and what value for 4.5 stars ?

Thanks
Find all posts by this user
Quote this message in a reply
05-10-2023, 08:41
Post: #6
RE: Displaying half-star ratings
As explained in previous posts. MinimServer does not map POPM values to half stars. If you want to do this, you will need to use a different custom tag instead of POPM and create your own mapping from this tag to RATING using tagUpdate.
Find all posts by this user
Quote this message in a reply
16-10-2023, 09:19 (This post was last modified: 16-10-2023 15:52 by DanielB.)
Post: #7
RE: Displaying half-star ratings
Longtime MediaMonkey user looking to find a server based system.

Rating is important to me and in the MediaMonkey Android app it is shown on the playing screen. Is it possible for MinimServer to send this to the app?

It appears that MediaMonkey sends using <upnp:rating>X</upnp:rating>

I know I can't rate songs and that's fine.

Also, can you use unicode in index labels, as '★★★★☆ Rated albums' becomes '????? Rated albums'

Update: It's because 'Platform default charset is windows-1252'. Is there a way to change that and is it safe to?
Find all posts by this user
Quote this message in a reply
17-10-2023, 14:18
Post: #8
RE: Displaying half-star ratings
It should be possible to add support for automatic mapping from the RATING tag to the upnp:rating property in a future version of MinimServer.

The industry standard character set for tag values is UTF-8. You should be able to use a UTF-8 string as a tag value without changing the platform default charset and this should show correctly in UPnP control points. Where are you seeing '????? Rated albums' displayed?
Find all posts by this user
Quote this message in a reply
17-10-2023, 15:42
Post: #9
RE: Displaying half-star ratings
(17-10-2023 14:18)simoncn Wrote:  It should be possible to add support for automatic mapping from the RATING tag to the upnp:rating property in a future version of MinimServer.
I hope it's not too cheeky to ask, but do you have a broad timescale so I can plan the NAS purchase - and some further tagging changes for MinimServer?

(17-10-2023 14:18)simoncn Wrote:  The industry standard character set for tag values is UTF-8. You should be able to use a UTF-8 string as a tag value without changing the platform default charset and this should show correctly in UPnP control points. Where are you seeing '????? Rated albums' displayed?
If ★ are in tags it's ok but if they're labels in indexTags and I restart MinimServer when I go back to the properties window they're replaced with ?
Find all posts by this user
Quote this message in a reply
17-10-2023, 20:02
Post: #10
RE: Displaying half-star ratings
(17-10-2023 15:42)DanielB Wrote:  I hope it's not too cheeky to ask, but do you have a broad timescale so I can plan the NAS purchase - and some further tagging changes for MinimServer

I am expecting this to be straightforward to implement. If there are no unexpected problems, it should be available within the next month or so.

Quote:If ★ are in tags it's ok but if they're labels in indexTags and I restart MinimServer when I go back to the properties window they're replaced with ?

I have been able to reproduce this problem and do some investigation. Unfortunately it will not be simple to fix. There are two separate issues. One of these is fairly easy to fix but the other will need a lot of careful thought to fix it in a way that doesn't cause problems for any existing user configurations.

You could change the platform default charset (it's a Windows setting) but I don't recommend this because it could have unexpected side-effects and would only fix one of the two issues.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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