From 9b3b71af7b47ca7ef4619f5fc29608a8b521eba8 Mon Sep 17 00:00:00 2001 From: ronie Date: Sat, 16 Feb 2013 00:59:42 +0100 Subject: [PATCH] fix premiered property for episodes --- addon.xml | 2 +- changelog.txt | 5 ++++- default.py | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/addon.xml b/addon.xml index 2678f04..3c25ae1 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/changelog.txt b/changelog.txt index 146a01f..b2fcbbd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +v0.0.23 +- Fix premiered property for episodes + v0.0.22 - Fix keyerror @@ -70,4 +73,4 @@ v0.0.2 - Add option for randomitems to use the timer or on database update v0.0.1 -- Initial version that bring Watchlist and RandomItems in one service script \ No newline at end of file +- Initial version that bring Watchlist and RandomItems in one service script diff --git a/default.py b/default.py index 1cafd86..8718e3a 100644 --- a/default.py +++ b/default.py @@ -262,7 +262,7 @@ def _fetch_tvshows_recommended(self, request): self.WINDOW.setProperty("%s.%d.TVshowTitle" % (request, count), item2['showtitle']) self.WINDOW.setProperty("%s.%d.Rating" % (request, count), rating) self.WINDOW.setProperty("%s.%d.Runtime" % (request, count), str(int((item2['runtime'] / 60) + 0.5))) - self.WINDOW.setProperty("%s.%d.Premiered " % (request, count), item2['firstaired']) + self.WINDOW.setProperty("%s.%d.Premiered" % (request, count), item2['firstaired']) self.WINDOW.setProperty("%s.%d.Art(thumb)" % (request, count), art2.get('thumb','')) self.WINDOW.setProperty("%s.%d.Art(tvshow.fanart)" % (request, count), art2.get('tvshow.fanart','')) self.WINDOW.setProperty("%s.%d.Art(tvshow.poster)" % (request, count), art2.get('tvshow.poster','')) @@ -348,7 +348,7 @@ def _fetch_tvshows(self, request): self.WINDOW.setProperty("%s.%d.TVshowTitle" % (request, count), item['showtitle']) self.WINDOW.setProperty("%s.%d.Rating" % (request, count), rating) self.WINDOW.setProperty("%s.%d.Runtime" % (request, count), str(int((item['runtime'] / 60) + 0.5))) - self.WINDOW.setProperty("%s.%d.Premiered " % (request, count), item['firstaired']) + self.WINDOW.setProperty("%s.%d.Premiered" % (request, count), item['firstaired']) self.WINDOW.setProperty("%s.%d.Art(thumb)" % (request, count), art.get('thumb','')) self.WINDOW.setProperty("%s.%d.Art(tvshow.fanart)" % (request, count), art.get('tvshow.fanart','')) self.WINDOW.setProperty("%s.%d.Art(tvshow.poster)" % (request, count), art.get('tvshow.poster','')) @@ -727,4 +727,4 @@ def onPlayBackStopped(self): del Widgets_Monitor del Widgets_Player del Main - log('script version %s stopped' % __addonversion__) \ No newline at end of file + log('script version %s stopped' % __addonversion__)