From 04d7ac2f012f6c8b9fdb015eea1503fcc536871b Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 22 Jan 2016 16:49:59 -0600 Subject: [PATCH] Missing reference to rating Was it moved by accident? --- 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 e2ad16c4..7c85db54 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -1948,6 +1948,7 @@ class Music(Items): track = disc*2**16 + tracknumber year = item.get('ProductionYear') duration = API.getRuntime() + rating = userdata['UserRating'] #if enabled, try to get the rating from file and/or emby if not self.directstream: @@ -1955,7 +1956,6 @@ class Music(Items): else: hasEmbeddedCover = False comment = API.getOverview() - rating = userdata['UserRating'] ##### GET THE FILE AND PATH #####