From 1e3aa1c7486c134b072f51c52914ac3c78ecd8aa Mon Sep 17 00:00:00 2001 From: Amit Keret Date: Fri, 27 Feb 2015 19:47:18 +0200 Subject: [PATCH] merge master version 0.0.27 --- lib/requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/requests.py b/lib/requests.py index 5fee465..d959ac4 100644 --- a/lib/requests.py +++ b/lib/requests.py @@ -61,7 +61,7 @@ def episodes(self, request): json_query = xbmc.executeJSONRPC('%s "sort": {"order": "descending", "method": "dateadded"}, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}' %json_string) elif request == 'RecentEpisode': json_query = xbmc.executeJSONRPC('%s "sort": {"order": "descending", "method": "dateadded"}}}' %json_string) - elif request == 'RecentAiredEpisode' and self.RECENTAIREDITEMS_UNPLAYED: + elif request == 'RecentAiredEpisode' and RECENTAIREDITEMS_UNPLAYED: json_query = xbmc.executeJSONRPC('%s "sort": {"order": "descending", "method": "year"}, "filter": {"field": "playcount", "operator": "lessthan", "value": "1"}}}' %json_string) elif request == 'RecentAiredEpisode': json_query = xbmc.executeJSONRPC('%s "sort": {"order": "descending", "method": "year"}}}' %json_string)