#import sickbeard #from sickbeard.helpers import findCertainShow, maybe_plural ## #set global $title = 'Show Processes' #set global $header = 'Show Processes' #set global $sbPath = '..' #set global $topmenu = 'manage' ## #import os.path #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
#if $varExists('header')

$header

#else

$title

#end if

Daily show update:

Force #if not $show_update_running: Not in progress
#else: Currently running
#end if
#if $not_found_shows #set $num_errors = $len($not_found_shows) #set $err_class = ('', ' errors ' + ($num_errors * 'n')[0:4])[any([$num_errors])]

$num_errors Show$maybe_plural($num_errors) with abandoned master ID$maybe_plural($num_errors):

List of show(s) with changed ID at the TV info source. Click show name to get new ID, so that episode info updates may continue


#set $row = 0 #for $cur_show in $not_found_shows: #end for
Show name Last found Ignore Warn
$cur_show['show_name'] $cur_show['last_success']
Note: Ignored shows will still not get updates unless edited
#end if #if $defunct_indexer

Shows from defunct TV info sources:


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

Show queue:

#if $queue_length['add'] or $queue_length['update'] or $queue_length['refresh'] or $queue_length['rename'] or $queue_length['subtitle']

#end if
Add: $len($queue_length['add']) show$sickbeard.helpers.maybe_plural($len($queue_length['add'])) #if $queue_length['add']
#set $row = 0 #for $cur_show in $queue_length['add']: #set $show_name = str($cur_show['name']) #end for #else
#end if
Update (Forced / Forced Web): $len($queue_length['update']) ($len($queue_length['forceupdate']) / $len($queue_length['forceupdateweb'])) show$sickbeard.helpers.maybe_plural($len($queue_length['update'])) #if $queue_length['update']
#set $row = 0 #for $cur_show in $queue_length['update']: #set $show = $findCertainShow($show_list, $cur_show['indexerid']) #set $show_name = $show.name if $show else str($cur_show['name']) #end for #else
#end if
Refresh: $len($queue_length['refresh']) show$sickbeard.helpers.maybe_plural($len($queue_length['refresh'])) #if $queue_length['refresh']
#set $row = 0 #for $cur_show in $queue_length['refresh']: #set $show = $findCertainShow($show_list, $cur_show['indexerid']) #set $show_name = $show.name if $show else str($cur_show['name']) #end for #else
#end if
Rename: $len($queue_length['rename']) show$sickbeard.helpers.maybe_plural($len($queue_length['rename'])) #if $queue_length['rename']
#set $row = 0 #for $cur_show in $queue_length['rename']: #set $show = $findCertainShow($show_list, $cur_show['indexerid']) #set $show_name = $show.name if $show else str($cur_show['name']) #end for #else
#end if #if $sickbeard.USE_SUBTITLES
Subtitle: $len($queue_length['subtitle']) show$sickbeard.helpers.maybe_plural($len($queue_length['subtitle'])) #if $queue_length['subtitle']
#set $row = 0 #for $cur_show in $queue_length['subtitle']: #set $show = $findCertainShow($show_list, $cur_show['indexerid']) #set $show_name = $show.name if $show else str($cur_show['name']) #end for #else
#end if #end if
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')