MinimServer Forum
Displaying half-star ratings - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Music Tagging (/forumdisplay.php?fid=9)
+--- Thread: Displaying half-star ratings (/showthread.php?tid=6823)

Pages: 1 2 3 4


Displaying half-star ratings - Lakorus - 03-02-2023 20:41

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


RE: Displaying half-star ratings - simoncn - 03-02-2023 23:15

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.


RE: Displaying half-star ratings - Lakorus - 04-02-2023 17:00

(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?


RE: Displaying half-star ratings - simoncn - 04-02-2023 18:16

Yes, that should work.


RE: Displaying half-star ratings - schliden - 05-10-2023 08:36

(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


RE: Displaying half-star ratings - simoncn - 05-10-2023 08:41

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.


RE: Displaying half-star ratings - DanielB - 16-10-2023 09:19

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?


RE: Displaying half-star ratings - simoncn - 17-10-2023 14:18

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?


RE: Displaying half-star ratings - DanielB - 17-10-2023 15:42

(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 ?


RE: Displaying half-star ratings - simoncn - 17-10-2023 20:02

(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.