From e18250f371e8529899aa941635123dd5145fec41 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Tue, 10 Mar 2015 00:13:58 +0000 Subject: [PATCH] Add option to the third step of "Add Show" to set episodes as wanted from the first and latest season, this triggers a backlog search on those episodes after the show is added. Tweak log and notification texts used when adding an existing show. --- CHANGES.md | 2 + .../default/home_addExistingShow.tmpl | 2 + .../default/inc_addShowOptions.tmpl | 24 ++++++- gui/slick/js/addShowOptions.js | 62 ++++++++++--------- sickbeard/__init__.py | 8 ++- sickbeard/show_queue.py | 44 ++++++++++--- sickbeard/webserve.py | 56 ++++++++--------- 7 files changed, 131 insertions(+), 67 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 5522af15..da909998 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,8 @@ * Change startup code cleanup and PEP8 * Change authentication credentials to display more securely on config pages * Add a "Use as default home page" selector to General Config/Interface/User Interface +* Add option to the third step of "Add Show" to set episodes as wanted from the first and latest season, this triggers + a backlog search on those episodes after the show is added * Change to improve the integrity of the already post processed video checker * Add Kodi notifier and metadata * Add priority, device, and sound support to Pushover notifier (port from midgetspy/sickbeard) diff --git a/gui/slick/interfaces/default/home_addExistingShow.tmpl b/gui/slick/interfaces/default/home_addExistingShow.tmpl index e398b54d..e7fc323a 100644 --- a/gui/slick/interfaces/default/home_addExistingShow.tmpl +++ b/gui/slick/interfaces/default/home_addExistingShow.tmpl @@ -75,6 +75,8 @@

+

If you tried to add a show, arrived here and can't see the folder, then that show may already be in your show list.

+ diff --git a/gui/slick/interfaces/default/inc_addShowOptions.tmpl b/gui/slick/interfaces/default/inc_addShowOptions.tmpl index dbbd23ce..90e027a5 100644 --- a/gui/slick/interfaces/default/inc_addShowOptions.tmpl +++ b/gui/slick/interfaces/default/inc_addShowOptions.tmpl @@ -26,6 +26,28 @@ #set global $bestQualities = $qualities[1] #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_qualityChooser.tmpl') +#try: + #if True == $enable_default_wanted: +
+ From season 1 forward, set + + + + From latest going back, set + + + +
+ #end if +#except (NameError, NotFound): + #pass +#end try