From 8066983384f1e392bde860aefa8505fb14572e92 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 11 Dec 2014 12:46:01 -0800 Subject: [PATCH] Updated KAT provider urls. KAT Provider now uses feedcache to get its results via rss feeds. Fixed issues with Trakt.TV notifications and adding of trending shows Improved Trakt trending shows page, now shows progress animation well it waits to load shows list. --- .../default/home_trendingShows.tmpl | 44 ++---------------- .../interfaces/default/trendingShows.tmpl | 45 +++++++++++++++++++ gui/slick/js/addTrendingShow.js | 11 +++++ sickbeard/webserve.py | 27 ++++++----- 4 files changed, 77 insertions(+), 50 deletions(-) create mode 100644 gui/slick/interfaces/default/trendingShows.tmpl create mode 100644 gui/slick/js/addTrendingShow.js diff --git a/gui/slick/interfaces/default/home_trendingShows.tmpl b/gui/slick/interfaces/default/home_trendingShows.tmpl index ccdf1de4..b57df462 100644 --- a/gui/slick/interfaces/default/home_trendingShows.tmpl +++ b/gui/slick/interfaces/default/home_trendingShows.tmpl @@ -14,6 +14,7 @@ #import os.path #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') + @@ -90,7 +91,6 @@

$title

#end if -#if $trending_shows
-#end if -
- -#if None is $trending_shows -
-

Trakt API did not return results, this can happen from time to time. -

This view should auto refresh every 10 mins.

-
-#else -#for $cur_show in $trending_shows: -#if not 'ExistsInLibrary' in $cur_show['tvdb_id']: - -#set $image = re.sub(r'(?im)(.*)(\..*?)$', r'\1-300\2', $cur_show['images']['poster'], 0) - -
-
-
- -
- -
- <%= (cur_show['title'], ' ')[ '' == cur_show['title']] %> -
- -
-

$cur_show['ratings']['percentage']%

- $cur_show['ratings']['votes'] votes - -
- Add Show -
-
-
-
- -#end if -#end for -#end if -
+
+
+