'Fix' overview
Not too happy about this, but seems to work
This commit is contained in:
parent
46d9969ea4
commit
fdb73f08e8
2 changed files with 5 additions and 1 deletions
|
@ -206,6 +206,10 @@ class API():
|
||||||
Temp=''
|
Temp=''
|
||||||
Overview1=Temp.encode('utf-8')
|
Overview1=Temp.encode('utf-8')
|
||||||
Overview=str(Overview1)
|
Overview=str(Overview1)
|
||||||
|
Overview=Overview.replace("\"", "")
|
||||||
|
Overview=Overview.replace("\'", "")
|
||||||
|
Overview=Overview.replace("\n", " ")
|
||||||
|
Overview=Overview.replace("\r", " ")
|
||||||
return Overview
|
return Overview
|
||||||
|
|
||||||
def getPremiereDate(self, item):
|
def getPremiereDate(self, item):
|
||||||
|
|
|
@ -83,7 +83,7 @@ class WriteKodiDB():
|
||||||
if MBitem.get("CommunityRating") != None:
|
if MBitem.get("CommunityRating") != None:
|
||||||
self.getPropertyParam_Batched(KodiItem, "rating", Decimal(format(MBitem.get("CommunityRating"),'.1f')), params)
|
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, "plotoutline", MBitem.get("ShortOverview"), params)
|
||||||
self.getPropertyParam_Batched(KodiItem, "set", MBitem.get("TmdbCollectionName"), params)
|
self.getPropertyParam_Batched(KodiItem, "set", MBitem.get("TmdbCollectionName"), params)
|
||||||
self.getPropertyParam_Batched(KodiItem, "sorttitle", MBitem.get("SortName"), params)
|
self.getPropertyParam_Batched(KodiItem, "sorttitle", MBitem.get("SortName"), params)
|
||||||
|
|
Loading…
Reference in a new issue