#import sickbeard #import lib.adba as adba #from sickbeard import common #from sickbeard import exceptions #from sickbeard import scene_exceptions #from sickbeard.helpers import anon_url #from sickbeard.indexers.indexer_config import INDEXER_TVDB #import sickbeard.blackandwhitelist ## #set global $title = 'Edit ' + $show.name #set global $header = $show.name #set global $sbPath = '..' #set global $topmenu = 'home' #set global $page_body_attr = 'edit-show' ## #import os.path #from urllib import quote_plus #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')

Edit $header

#else

$title

#end if ## #set $html_checked = ' checked="checked"' #set $html_disabled = ' disabled="disabled"'
Alternative show name(s)

e.g. The Show, The Show (2016), The Show (US)

post-processing or searching may require an alternative if a "Show not found" error is reported

#set $qualities = $common.Quality.splitQuality(int($show.quality)) #set global $anyQualities = $qualities[0] #set global $bestQualities = $qualities[1] #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_qualityChooser.tmpl') #if $anyQualities + $bestQualities #end if
#if $show.is_anime #import sickbeard.blackandwhitelist #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_blackwhitelist.tmpl') #end if
#set $dev = True #set $dev = None
#set $is_master_settable = False #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 $src_id in $sickbeard.indexerApi().indexers and not $sickbeard.indexerApi($src_id).config.get('defunct') and $sickbeard.indexerApi($src_id).config.get('active'))) #if $is_master_settable #break #end if #end for #set $search_name = quote_plus($sickbeard.indexermapper.clean_show_name($show.name)) #for $src_id, $src_name in $sickbeard.indexerApi().all_indexers.iteritems() #set $ok_src_id = $show.ids[$src_id].get('id', 0) > 0 #set $maybe_master = ($src_id != $show.indexer and $src_id in $sickbeard.indexerApi().indexers and not $sickbeard.indexerApi($src_id).config.get('defunct') and $sickbeard.indexerApi($src_id).config.get('active')) #set $settable_master = ($dev or ($ok_src_id and $maybe_master))
#if $src_id in $show.ids #set $src_search_url = sickbeard.indexerApi($src_id).config.get('finder') #set $use_search_url = $src_search_url #set $data_link = 'data-' #if $ok_src_id and $sickbeard.indexermapper.MapStatus.NOT_FOUND != $show.ids[$src_id]['status'] #set $data_link = '' #set $use_search_url = False #end if $src_name #end if $src_name #if $src_id != $show.indexer #if $settable_master #end if #else #end if
#end for

invalid values can break finding episode and TV info

or

for unlocked IDs

Saving...
Cancel Edit
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')