#import sickbeard #from sickbeard.helpers import anon_url ## #set global $header = 'Add from TV info source' #set global $title = $header #set global $sbPath = '../..' #set global $statpath = '../..' #set global $topmenu = 'home' <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# ## #import os.path #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') #set indexer_count = len([$i for $i in $sickbeard.indexerApi().indexers if $sickbeard.indexerApi(i).config.get('active', False) and not $sickbeard.indexerApi(i).config.get('defunct', False)]) + 1 #if $varExists('header')

$header

#else

$title

#end if
aoeu

#if $use_provided_info#Using known show information#else#Find show at TV info source#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    * #if 1 < $len($indexers) #end if  

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

#end if
 
#for $curNextDir in $other_shows #end for

#if $provided_show_dir #end if
#include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_bottom.tmpl')