mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
fix wm/shareduserrating
This commit is contained in:
parent
a1e2bc3799
commit
166d351ad1
@ -512,7 +512,7 @@ int wma_parse_extended_content_description(int fd,int size, MP3FILE *pmp3) {
|
|||||||
pmp3->rating = 100;
|
pmp3->rating = 100;
|
||||||
} else {
|
} else {
|
||||||
if(pmp3->rating) {
|
if(pmp3->rating) {
|
||||||
pmp3->rating = (pmp3->rating / 25) + 1;
|
pmp3->rating = ((pmp3->rating / 25) + 1) * 20;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if(strcasecmp(descriptor_name,"wm/tracknumber")==0) {
|
} else if(strcasecmp(descriptor_name,"wm/tracknumber")==0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user