#import sickbeard
##
#set global $title = 'Media Search'
#set global $header = 'Media Search'
#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
Backlog Search:
Force #if $backlogPaused then "Unpause" else "Pause"#
#if $backlogPaused then 'Paused: ' else ''#
#if not $backlogRunning and not $backlogIsActive:
Not in progress
#else
Currently running#if $backlogRunningType != "None"# ($backlogRunningType)#end if#
#end if
Recent Search:
Force
#if not $recentSearchStatus
Not in progress
#else
In Progress
#end if
Find Propers Search:
Force
#if not $findPropersStatus
Not in progress
#else
In Progress
#end if
Search Queue:
#if $queueLength['backlog'] or $queueLength['manual'] or $queueLength['failed']
#end if
Recent: $queueLength['recent'] item$sickbeard.helpers.maybe_plural($queueLength['recent'])