Re-add mpaa rating

This commit is contained in:
angelblue05 2018-09-06 14:46:20 -05:00
parent ce47644868
commit ce81a1fc33
4 changed files with 6 additions and 3 deletions

View file

@ -168,9 +168,9 @@ class API(object):
return overview
def get_mpaa(self):
# Convert more complex cases
mpaa = self.item.get('OfficialRating', "")
def get_mpaa(self, rating=None):
mpaa = rating or self.item.get('OfficialRating', "")
if mpaa in ("NR", "UR"):
# Kodi seems to not like NR, but will accept Not Rated