Fix music crash
This commit is contained in:
parent
30a9074f71
commit
2e5c0aa8f2
1 changed files with 1 additions and 1 deletions
|
@ -2225,7 +2225,7 @@ class Music(Items):
|
||||||
# Only proceed if we actually have a rating from the file
|
# Only proceed if we actually have a rating from the file
|
||||||
if file_rating is None and currentvalue:
|
if file_rating is None and currentvalue:
|
||||||
return (currentvalue, comment)
|
return (currentvalue, comment)
|
||||||
elif file_rating is None and currentvalue is None:
|
elif file_rating is None and not currentvalue:
|
||||||
return (emby_rating, comment)
|
return (emby_rating, comment)
|
||||||
|
|
||||||
file_rating = int(round(file_rating,0))
|
file_rating = int(round(file_rating,0))
|
||||||
|
|
Loading…
Reference in a new issue