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

$header

#else

$title

#end if #for $hItem in $cacheResults: #set $provider = $providers.getProviderClass($hItem['provider']) #set $tip = '%s @ %s' % ($hItem['provider'], $sbdatetime.sbdatetime.sbfdatetime($sbdatetime.sbdatetime.fromtimestamp($hItem['time']))) #set $ver = $hItem['version'] #set $ver = ($ver, '')[-1 == $ver] #set $quality = tryInt($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($sickbeard.PROG_DIR,'gui/slick/interfaces/default/inc_bottom.tmpl')