#import sickbeard #import datetime #import re #from sickbeard.common import * #from sickbeard import sbdatetime #from sickbeard import history #from sickbeard import providers #from sickbeard.providers import generic ## #set global $title = 'History' #set global $header = 'History' #set global $sbPath = '..' #set global $topmenu = 'history' #set $layout = $sickbeard.HISTORY_LAYOUT ## #import os.path #include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')
Time | Episode | Action | Provider | Quality | |
---|---|---|---|---|---|
$sbdatetime.sbdatetime.sbfdatetime($curdatetime, show_seconds=True) $time.mktime($curdatetime.timetuple()) |
$hItem['show_name'] - <%= 'S%02i' % int(hItem['season']) + 'E%02i' % int(hItem['episode']) %>#if 'proper' in $hItem['resource'].lower or 'repack' in $hItem['resource'].lower then ' Proper' else ''# | #if SUBTITLED == $curStatus "> #end if $statusStrings[$curStatus] | #if DOWNLOADED == $curStatus #if '-1' != $hItem['provider'] $hItem['provider'] #end if #else #if 0 < $hItem['provider'] #if $curStatus in [SNATCHED, FAILED] #set $provider = $providers.getProviderClass($generic.GenericProvider.make_id($hItem['provider'])) #if None is not $provider $provider.name #else Missing Provider #end if #else <%= hItem['provider'].capitalize() %> #end if #end if #end if | $Quality.qualityStrings[$curQuality] | |
Time | Episode | Snatched | Downloaded | #if sickbeard.USE_SUBTITLESSubtitled | #end ifQuality |
$sbdatetime.sbdatetime.sbfdatetime($curdatetime, show_seconds=True) $time.mktime($curdatetime.timetuple()) |
$hItem['show_name'] - <%= 'S%02i' % int(hItem['season']) + 'E%02i' % int(hItem['episode']) %>#if 'proper' in $hItem['resource'].lower or 'repack' in $hItem['resource'].lower then ' Proper' else ''# | #echo ''.join($prov_list)# | #echo ' '.join($down_list)# | #if sickbeard.USE_SUBTITLES#for $action in reversed($hItem['actions']) #set $curStatus, $curQuality = $Quality.splitCompositeStatus(int($action['action'])) #if SUBTITLED == $curStatus / #end if #end for | #end if$Quality.qualityStrings[$curQuality] |