From 2e5c0aa8f2dce7bfb98efafe94d3108bb664f6ec Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 16 Jan 2016 16:31:42 -0600 Subject: [PATCH] Fix music crash --- resources/lib/itemtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 0da05345..92a94a25 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -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))