#import sickgear ## #set global $title = 'Cache' #set global $header = 'Cache' #set global $sbPath = '..' #set global $topmenu = 'cache' ## #import os.path #from sickgear import providers #from sickgear.common import Quality #from sickgear.helpers import try_int #from sickgear.sgdatetime import SGDatetime #include $os.path.join($sickgear.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')

$header

#else

$title

#end if #for $hItem in $cacheResults: #set $provider = $providers.get_by_id($hItem['provider']) #set $tip = '%s @ %s' % ($hItem['provider'], $SGDatetime.sbfdatetime($SGDatetime.fromtimestamp($hItem['time']))) #set $ver = $hItem['version'] #set $ver = ($ver, '')[-1 == $ver] #set $quality = try_int($hItem['quality']) #if $provider #else #end if #end for
Prov Rls Name Sn En Show Id Url TimeStamp Quality Rls Group Ver
$len($cacheResults) releases
$tip$hItem['provider']$hItem['name'] $hItem['season'] $hItem['episodes'].strip('|').replace('|', ',') $hItem['indexerid'] $hItem['time'] $Quality.get_quality_ui($quality) $hItem['release_group'] $ver
#include $os.path.join($sickgear.PROG_DIR,'gui/slick/interfaces/default/inc_bottom.tmpl')