'Fix' overview

Not too happy about this, but seems to work
This commit is contained in:
xnappo 2015-04-11 12:34:20 -05:00
parent 46d9969ea4
commit fdb73f08e8
2 changed files with 5 additions and 1 deletions

View file

@ -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):

View file

@ -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)