From fdb73f08e827b1add9c3574a7664eead727e4f15 Mon Sep 17 00:00:00 2001 From: xnappo Date: Sat, 11 Apr 2015 12:34:20 -0500 Subject: [PATCH] 'Fix' overview Not too happy about this, but seems to work --- resources/lib/API.py | 4 ++++ resources/lib/WriteKodiDB.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/lib/API.py b/resources/lib/API.py index 8e502397..e46d2f4a 100644 --- a/resources/lib/API.py +++ b/resources/lib/API.py @@ -206,6 +206,10 @@ class API(): Temp='' Overview1=Temp.encode('utf-8') Overview=str(Overview1) + Overview=Overview.replace("\"", "") + Overview=Overview.replace("\'", "") + Overview=Overview.replace("\n", " ") + Overview=Overview.replace("\r", " ") return Overview def getPremiereDate(self, item): diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index a6bca6b7..b85370e5 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -83,7 +83,7 @@ class WriteKodiDB(): if MBitem.get("CommunityRating") != None: self.getPropertyParam_Batched(KodiItem, "rating", Decimal(format(MBitem.get("CommunityRating"),'.1f')), params) - #self.getPropertyParam_Batched(KodiItem, "plot", MBitem.get("Overview"), params) + self.getPropertyParam_Batched(KodiItem, "plot", MBitem.get("Overview"), params) self.getPropertyParam_Batched(KodiItem, "plotoutline", MBitem.get("ShortOverview"), params) self.getPropertyParam_Batched(KodiItem, "set", MBitem.get("TmdbCollectionName"), params) self.getPropertyParam_Batched(KodiItem, "sorttitle", MBitem.get("SortName"), params)