Quick follow up for mpaa
Incase other rating contain the NR. To avoid mix ups.
This commit is contained in:
parent
fee8b958de
commit
7c4ea6ecea
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ class API():
|
||||||
def getMpaa(self, item):
|
def getMpaa(self, item):
|
||||||
# Convert more complex cases
|
# Convert more complex cases
|
||||||
mpaa = item.get('OfficialRating', "")
|
mpaa = item.get('OfficialRating', "")
|
||||||
if "NR" in mpaa:
|
if "NR" == mpaa:
|
||||||
# Kodi seems to not like NR, but will accept Rated Not Rated
|
# Kodi seems to not like NR, but will accept Rated Not Rated
|
||||||
mpaa = "Rated Not Rated"
|
mpaa = "Rated Not Rated"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue