mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-15 16:48:22 -04:00
Fix rating on wma
This commit is contained in:
parent
b48e99dd70
commit
64eed880d3
@ -422,7 +422,7 @@ int wma_parse_extended_content_description(int fd,int size, MP3FILE *pmp3) {
|
|||||||
}
|
}
|
||||||
} else if(strcasecmp(descriptor_name,"wm/shareduserrating")==0) {
|
} else if(strcasecmp(descriptor_name,"wm/shareduserrating")==0) {
|
||||||
/* what a strange rating strategy */
|
/* what a strange rating strategy */
|
||||||
pmp3->rating = atoi(descriptor_int_value);
|
pmp3->rating = descriptor_int_value;
|
||||||
if(pmp3->rating == 99) {
|
if(pmp3->rating == 99) {
|
||||||
pmp3->rating = 100;
|
pmp3->rating = 100;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user