mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-08 18:35:10 +00:00
Re-add mpaa rating
This commit is contained in:
parent
ce47644868
commit
ce81a1fc33
4 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue