mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
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
|
||||
if file_rating is None and currentvalue:
|
||||
return (currentvalue, comment)
|
||||
elif file_rating is None and currentvalue is None:
|
||||
elif file_rating is None and not currentvalue:
|
||||
return (emby_rating, comment)
|
||||
|
||||
file_rating = int(round(file_rating,0))
|
||||
|
|
Loading…
Reference in a new issue