#import sickbeard #import datetime #from sickbeard.common import * #from sickbeard import sbdatetime, network_timezones ## #set global $title = 'Home' #set global $header = 'Show List' #set global $sbPath = '..' #set global $topmenu = 'home' #set global $page_body_attr = 'show-list' #set fuzzydate = 'airdate' ## #import os.path #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
$download_stat | #if 'simple' != $layout #set $img_text = ($curShow.network, 'No Network')[None is $curShow.network] #else $curShow.network #end if | #if $curShow.quality in $qualityPresets $qualityPresetStrings[$curShow.quality] #else Custom #end if |
Next Ep | Show | Network | Quality | Downloads | Active | Status | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add Show | |||||||||||
(loading) | #if None is $curLoadingShow.show Loading... ($curLoadingShow.show_name) #else $curLoadingShow.show.name #end if | ||||||||||
$sbdatetime.sbdatetime.sbfdate($ldatetime) $ldatetime.strftime('%Y%m%d%H%M') |
#else
#end if #if 'small' == $layout | #else if 'banner' == $layout | $curShow.name | #else if 'simple' == $layout$curShow.name | #end if #if 'simple' != $layout #set $img_text = ($curShow.network, 'No Network')[None is $curShow.network]$curShow.network | #else$curShow.network | #end if #if $curShow.quality in $qualityPresets$qualityPresetStrings[$curShow.quality] | #elseCustom | #end if
|
#set $display_status = $curShow.status #if None is not $display_status #if re.search(r'(?i)(?:new|returning)\s*series', $curShow.status) #set $display_status = 'Continuing' #else if re.search(r'(?i)(?:nded)', $curShow.status) #set $display_status = 'Ended' #end if #end if $display_status |