MinimServer Forum

Full Version: Displaying half-star ratings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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
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.
(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?
Yes, that should work.
(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
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.
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?
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?
(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 ?
(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.
Pages: 1 2 3 4
Reference URL's