#import re #import sickbeard #from sickbeard.helpers import anon_url <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# #set $state_checked = ('', ' checked=checked')[any([sg_var('IMPORT_DEFAULT_CHECKED_SHOWS')])] #for $curDir in $dirList #if $curDir['added_already'] and (None is $curDir.get('highlight') or not $kwargs.get('hash_dir')) #continue #end if #set $show_id = $curDir['dir'] #if $curDir['existing_info'][0] #set $show_id = $show_id + '|' + $str($curDir['existing_info'][0]) + '|' + $str($curDir['existing_info'][1]) #set $indexer = $curDir['existing_info'][2] #end if #set $indexer = 0 #if $curDir['existing_info'][0] and $sickbeard.indexerApi($curDir['existing_info'][2]).config.get('active') #set $indexer = $curDir['existing_info'][2] #elif 0 < $sickbeard.INDEXER_DEFAULT #set $indexer = $sickbeard.INDEXER_DEFAULT #end if #if $curDir['existing_info'][1] and $indexer > 0 #else #end if #end for
Parent\show folder Show name
(tvshow.nfo)
TV info source
Manage Directories
$curDir['existing_info'][1] ?