diff --git a/CHANGES.md b/CHANGES.md index 12b95882..1624c85d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -99,6 +99,13 @@ * Change existing shows in DB are no longer selectable in result list * Change add image to search result item hover over * Change improve image load speed on browse Trakt/IMDb/AniDB pages +* Add a changeable master Show ID when show no longer found at TV info source due to an ID change +* Add guiding links to assist user to change TV Info Source ID +* Add "Shows with abandoned master IDs" to Manage/Show Processes Page to link shows that can have their show IDs + adjusted in order to sustain TV info updates +* Add "Shows from defunct TV info sources" to Manage/Show Processes page to link shows that can be switched to a + different default TV info source +* Add shows not found at a TV info source for over 7 days will only be retried once a week [develop changelog] diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index 8eca368a..b8bfcc71 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -4147,6 +4147,13 @@ fieldset.sectionwrap{ margin-top:10px } +.fullwidth, +.fullwidth div.stepsguide, +.fullwidth div.stepsguide .step{ + width:100%; + cursor:default +} + div.stepsguide .step, legend.legendStep{ margin-bottom:0 diff --git a/gui/slick/interfaces/default/editShow.tmpl b/gui/slick/interfaces/default/editShow.tmpl index 308b57f8..6638bded 100644 --- a/gui/slick/interfaces/default/editShow.tmpl +++ b/gui/slick/interfaces/default/editShow.tmpl @@ -12,7 +12,7 @@ #set $css = $getVar('css', 'reg') #set $has_art = $getVar('has_art', None) #set $restart = 'Restart SickGear for new features on this page' -#set $show_message = (None, $restart)[None is $has_art] +#set $show_message = ($show_message, $restart)[None is $has_art] #set global $page_body_attr = 'edit-show" class="' + $css ## #import os.path @@ -20,7 +20,7 @@ #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') @@ -301,7 +301,7 @@ #set $dev = True #set $dev = None
-#set $is_master_settable = False +#set $is_master_settable = False | $unlock_master_id #for $src_id, $src_name in $sickbeard.indexerApi().all_indexers.iteritems() #set $is_master_settable |= ($dev or ($src_id != $show.indexer and $show.ids[$src_id].get('id', 0) > 0 and @@ -328,13 +328,23 @@ #set $data_link = '' #set $use_search_url = False #end if - $src_name + $src_name #end if $src_name - - #if $src_id != $show.indexer + + #set $current_showid = $show.ids.get($src_id, {'id': 0}).get('id') + + + #if $src_id == $show.indexer + + #else #end if - #else - #end if
diff --git a/gui/slick/interfaces/default/home_newShow.tmpl b/gui/slick/interfaces/default/home_newShow.tmpl index bbb23756..d701d1f7 100644 --- a/gui/slick/interfaces/default/home_newShow.tmpl +++ b/gui/slick/interfaces/default/home_newShow.tmpl @@ -1,8 +1,8 @@ #import sickbeard #from sickbeard.helpers import anon_url ## -#set global $header = 'Add from TV info source' -#set global $title = $header +#set global $header = ('Add from TV info source', '%s::%s' % ($kwargs.get('action'), $default_show_name))[any([$kwargs.get('action')])] +#set global $title = ('Add from TV info source', '%s::%s' % ($kwargs.get('action'), $default_show_name))[any([$kwargs.get('action')])] #set global $sbPath = '../..' #set global $statpath = '../..' #set global $topmenu = 'home' @@ -33,38 +33,47 @@

$title

#end if - +
+#if not $kwargs.get('action')
aoeu
-
+
+#end if -
+

#if $use_provided_info#Using known show information#else#Find show at TV info source#end if#

- - - + + +#if $kwargs.get('action') + + + + +#end if #if $use_provided_info #set $provided_indexer_local = $provided_indexer #set $provided_indexer_id_local = $provided_indexer_id Show: $provided_indexer_name - - - - + + + + #else #if 2 > $len($indexers) - + #end if - +   #end if   - + -
+

Enter show name, TVDB ID, IMDb Url, or IMDb ID.  *SickGear supports english, language is used for show/episode data

@@ -92,16 +101,17 @@
 
+#if not $kwargs.get('action') @@ -114,24 +124,30 @@
 
-#for $curNextDir in $other_shows - -#end for - + #for $curNextDir in $other_shows + + #end for + +#end if
-
+
- +#if not $kwargs.get('action') + +#else + + +#end if #if $provided_show_dir - + #end if
-
+ #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_bottom.tmpl') diff --git a/gui/slick/interfaces/default/manage_manageSearches.tmpl b/gui/slick/interfaces/default/manage_manageSearches.tmpl index d8b78db8..c20cd287 100644 --- a/gui/slick/interfaces/default/manage_manageSearches.tmpl +++ b/gui/slick/interfaces/default/manage_manageSearches.tmpl @@ -51,14 +51,14 @@

Search Queue:

#if $queueLength['backlog'] or $queueLength['manual'] or $queueLength['failed'] -
+
#end if -
-Recent: $queueLength['recent'] item$sickbeard.helpers.maybe_plural($queueLength['recent'])

-Proper: $queueLength['proper'] item$sickbeard.helpers.maybe_plural($queueLength['proper'])

+
+Recent: $queueLength['recent'] item$sickbeard.helpers.maybe_plural($queueLength['recent'])

+Proper: $queueLength['proper'] item$sickbeard.helpers.maybe_plural($queueLength['proper'])

Backlog: $len($queueLength['backlog']) item$sickbeard.helpers.maybe_plural($len($queueLength['backlog'])) #if $queueLength['backlog'] -
+
@@ -90,12 +90,12 @@ Backlog: $len($queueLength['backlog']) item$sickbeard.helpers.maybe_plural($l #else -
+
#end if -
+
Manual: $len($queueLength['manual']) item$sickbeard.helpers.maybe_plural($len($queueLength['manual'])) #if $queueLength['manual'] -
+
@@ -110,12 +110,12 @@ Manual: $len($queueLength['manual']) item$sickbeard.helpers.maybe_plural($len #else -
+
#end if -
+
Failed: $len($queueLength['failed']) item$sickbeard.helpers.maybe_plural($len($queueLength['failed'])) #if $queueLength['failed'] -
+
@@ -130,7 +130,7 @@ Failed: $len($queueLength['failed']) item$sickbeard.helpers.maybe_plural($len #else -
+
#end if diff --git a/gui/slick/interfaces/default/manage_showProcesses.tmpl b/gui/slick/interfaces/default/manage_showProcesses.tmpl index c28b1e82..40134ea2 100644 --- a/gui/slick/interfaces/default/manage_showProcesses.tmpl +++ b/gui/slick/interfaces/default/manage_showProcesses.tmpl @@ -18,26 +18,72 @@ #end if
-

Daily Show Update:

+

Daily show update:

Force #if not $ShowUpdateRunning: Not in progress
#else: Currently running
#end if -
-

Show Queue:

-
-#if $queueLength['add'] or $queueLength['update'] or $queueLength['refresh'] or $queueLength['rename'] or $queueLength['subtitle'] -
+
+#if $NotFoundShows +

Shows with abandoned master IDs:

+
+ + + + + + + + #set $row = 0 + #for $cur_show in $NotFoundShows: + + + + + #end for + +
Show nameLast found
+ $cur_show['show_name'] + $cur_show['last_success']
#end if -
+#if $DefunctIndexer +

Shows from defunct TV info sources:

+
+ + + + + + + #set $row = 0 + #for $cur_show in $DefunctIndexer: + + + + #end for + +
Show name
+ $cur_show['show_name'] +
+#end if +

Show queue:

+
+#if $queueLength['add'] or $queueLength['update'] or $queueLength['refresh'] or $queueLength['rename'] or $queueLength['subtitle'] +
+#end if +
Add: $len($queueLength['add']) show$sickbeard.helpers.maybe_plural($len($queueLength['add'])) #if $queueLength['add'] -
+
+ + + + #set $row = 0 #for $cur_show in $queueLength['add']: #set $show_name = str($cur_show['name']) @@ -49,15 +95,19 @@ Add: $len($queueLength['add']) show$sickbeard.helpers.maybe_plural($len($queu #else -
+
#end if -
+
Update (Forced / Forced Web): $len($queueLength['update']) ($len($queueLength['forceupdate']) / $len($queueLength['forceupdateweb'])) show$sickbeard.helpers.maybe_plural($len($queueLength['update'])) #if $queueLength['update'] -
+
+ + + + #set $row = 0 #for $cur_show in $queueLength['update']: #set $show = $findCertainShow($showList, $cur_show['indexerid']) @@ -72,15 +122,19 @@ Update (Forced / Forced Web): $len($queueLengt #else -
+
#end if -
+
Refresh: $len($queueLength['refresh']) show$sickbeard.helpers.maybe_plural($len($queueLength['refresh'])) #if $queueLength['refresh'] -
+
+ + + + #set $row = 0 #for $cur_show in $queueLength['refresh']: #set $show = $findCertainShow($showList, $cur_show['indexerid']) @@ -95,16 +149,20 @@ Refresh: $len($queueLength['refresh']) show$sickbeard.helpers.maybe_plural($l #else -
+
#end if -
+
Rename: $len($queueLength['rename']) show$sickbeard.helpers.maybe_plural($len($queueLength['rename'])) #if $queueLength['rename'] -
+
+ + + + #set $row = 0 #for $cur_show in $queueLength['rename']: #set $show = $findCertainShow($showList, $cur_show['indexerid']) @@ -119,16 +177,20 @@ Rename: $len($queueLength['rename']) show$sickbeard.helpers.maybe_plural($len #else -
+
#end if #if $sickbeard.USE_SUBTITLES -
+
Subtitle: $len($queueLength['subtitle']) show$sickbeard.helpers.maybe_plural($len($queueLength['subtitle'])) #if $queueLength['subtitle'] -
+
+ + + + #set $row = 0 #for $cur_show in $queueLength['subtitle']: #set $show = $findCertainShow($showList, $cur_show['indexerid']) @@ -143,9 +205,9 @@ Rename: $len($queueLength['rename']) show$sickbeard.helpers.maybe_plural($len #else -
+
#end if #end if
-#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl') \ No newline at end of file +#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl') diff --git a/gui/slick/js/editShow.js b/gui/slick/js/editShow.js index 0c30250a..6da98716 100644 --- a/gui/slick/js/editShow.js +++ b/gui/slick/js/editShow.js @@ -1,6 +1,7 @@ /** @namespace $.SickGear.Root */ /** @namespace config.showLang */ /** @namespace config.showIsAnime */ +/** @namespace config.expandIds */ /*globals $, config, sbRoot, generate_bwlist*/ $(document).ready(function () { @@ -67,7 +68,7 @@ $(document).ready(function () { $('#SceneException').fadeIn('fast', 'linear'); var option = $('