#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 <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# ## #set global $title = 'History' #set global $header = 'History' #set global $sbPath = '..' #set global $topmenu = 'history' #set $layout = $sg_str('HISTORY_LAYOUT', 'detailed') ## #import os.path #include $os.path.join($sg_str('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()) |
$display_name#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 | $curQuality$Quality.qualityStrings[$curQuality] | |
Time | Episode | Snatched | Downloaded | #if $sg_var('USE_SUBTITLES')Subtitled | #end ifQuality |
$sbdatetime.sbdatetime.sbfdatetime($curdatetime, show_seconds=True) $time.mktime($curdatetime.timetuple()) |
$display_name#if 'proper' in $hItem['resource'].lower or 'repack' in $hItem['resource'].lower then ' Proper' else ''# | #echo ''.join($prov_list)# | #echo ' '.join($down_list)# | #if $sg_var('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] |