#import sickbeard #import datetime #from sickbeard.common import * #from sickbeard import sbdatetime, network_timezones #set global $title="Backlog Overview" #set global $header="Backlog Overview" #set global $sbPath=".." #set global $topmenu="manage"# #import os.path #include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl") #if $varExists('header')

$header

#else

$title

#end if #set $totalWanted = 0 #set $totalQual = 0 #for $curShow in $sickbeard.showList: #set $totalWanted = $totalWanted + $showCounts[$curShow.indexerid][$Overview.WANTED] #set $totalQual = $totalQual + $showCounts[$curShow.indexerid][$Overview.QUAL] #end for
Wanted: $totalWanted Low Quality: $totalQual

Jump to Show
#for $curShow in sorted($sickbeard.showList, key=operator.attrgetter('name')): #if $showCounts[$curShow.indexerid][$Overview.QUAL]+$showCounts[$curShow.indexerid][$Overview.WANTED] == 0: #continue #end if #for $curResult in $showSQLResults[$curShow.indexerid]: #set $whichStr = $str($curResult["season"]) + "x" + $str($curResult["episode"]) #set $overview = $showCats[$curShow.indexerid][$whichStr] #if $overview not in ($Overview.QUAL, $Overview.WANTED): #continue #end if #end for #end for

$curShow.name

Wanted: $showCounts[$curShow.indexerid][$Overview.WANTED] Low Quality: $showCounts[$curShow.indexerid][$Overview.QUAL] Force Backlog
EpisodeNameAirdate
$whichStr $curResult["name"]
#if int($curResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($curResult["airdate"],$curShow.airs,$curShow.network))#
#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl")