diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index deef193b..7daa6d88 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -1736,9 +1736,12 @@ class API(): def getAudienceRating(self): """ - Returns the audience rating or None + Returns the audience rating, 'rating' itself or None """ - return self.item.attrib.get('audienceRating', None) + res = self.item.attrib.get('audienceRating') + if res is None: + res = self.item.attrib.get('rating') + return res def getYear(self): """