small fixes

This commit is contained in:
Marcel van der Veldt 2015-03-18 18:49:20 +01:00
parent deb0fa57c1
commit 6729df6508
2 changed files with 3 additions and 1 deletions

View file

@ -139,7 +139,7 @@ class CreateFiles():
premieredatelist = (item.get("PremiereDate")).split("T") premieredatelist = (item.get("PremiereDate")).split("T")
premieredate = premieredatelist[0] premieredate = premieredatelist[0]
SubElement(root, "firstaired").text = premieredate SubElement(root, "firstaired").text = premieredate
SubElement(root, "premieredate").text = premieredate SubElement(root, "premiered").text = premieredate
if(timeInfo.get('Duration') != "0"): if(timeInfo.get('Duration') != "0"):
SubElement(root, "runtime").text = str(timeInfo.get('Duration')) SubElement(root, "runtime").text = str(timeInfo.get('Duration'))

View file

@ -309,6 +309,8 @@ class LibrarySync():
#FIXME --> for now pull all tv shows and use the incremental update only at episode level #FIXME --> for now pull all tv shows and use the incremental update only at episode level
tvShowData = ReadEmbyDB().getTVShows(True,True) tvShowData = ReadEmbyDB().getTVShows(True,True)
updateNeeded = False
if(self.ShouldStop()): if(self.ShouldStop()):
return True return True