From 7c4ea6eceaa86c7351ee18f40b4e863598da2b9d Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 8 Aug 2015 07:18:53 -0500 Subject: [PATCH] Quick follow up for mpaa Incase other rating contain the NR. To avoid mix ups. --- resources/lib/API.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/API.py b/resources/lib/API.py index 4296ad7c..c49f1c3c 100644 --- a/resources/lib/API.py +++ b/resources/lib/API.py @@ -354,7 +354,7 @@ class API(): def getMpaa(self, item): # Convert more complex cases mpaa = item.get('OfficialRating', "") - if "NR" in mpaa: + if "NR" == mpaa: # Kodi seems to not like NR, but will accept Rated Not Rated mpaa = "Rated Not Rated"