Missing reference to rating

Was it moved by accident?
This commit is contained in:
angelblue05 2016-01-22 16:49:59 -06:00
parent 395140262d
commit 04d7ac2f01

View file

@ -1948,6 +1948,7 @@ class Music(Items):
track = disc*2**16 + tracknumber track = disc*2**16 + tracknumber
year = item.get('ProductionYear') year = item.get('ProductionYear')
duration = API.getRuntime() duration = API.getRuntime()
rating = userdata['UserRating']
#if enabled, try to get the rating from file and/or emby #if enabled, try to get the rating from file and/or emby
if not self.directstream: if not self.directstream:
@ -1955,7 +1956,6 @@ class Music(Items):
else: else:
hasEmbeddedCover = False hasEmbeddedCover = False
comment = API.getOverview() comment = API.getOverview()
rating = userdata['UserRating']
##### GET THE FILE AND PATH ##### ##### GET THE FILE AND PATH #####