Plex: Add method to get rating
@@ -46,6 +46,11 @@ def id(self):
x = x.split("?")[0]
return x
+ @property
+ @memoize
+ def rating(self):
+ return int(self.item.userRating) if self.item.userRating is not None else None
+
@property
@memoize
def guid_is_imdb_legacy(self):
