#import sickbeard #from sickbeard import clients #from sickbeard.helpers import starify ## #set global $title = 'Config - Media Search' #set global $header = 'Search Settings' #set global $sbPath = '../..' #set global $topmenu = 'config' ## #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 $html_selected = ' selected="selected"' #set $html_checked = ' checked="checked"'

Media Search

How to manage searching with providers.

Optional: to improve matching, install the OS dependent regex python library

at a command line, simply enter ... python -m pip install regex

#if $sickbeard.USE_NZBS
#else #end if

NZB Results

How to handle NZB search results.

#set $prio_verylow = '' #set $prio_low = '' #set $prio_normal = '' #set $prio_high = '' #set $prio_veryhigh = '' #set $prio_force = '' #if -100 == $sickbeard.NZBGET_PRIORITY: #set $prio_verylow = $html_selected #elif -50 == $sickbeard.NZBGET_PRIORITY: #set $prio_low = $html_selected #elif 0 == $sickbeard.NZBGET_PRIORITY: #set $prio_normal = $html_selected #elif 50 == $sickbeard.NZBGET_PRIORITY: #set $prio_high = $html_selected #elif 100 == $sickbeard.NZBGET_PRIORITY: #set $prio_veryhigh = $html_selected #elif 900 == $sickbeard.NZBGET_PRIORITY: #set $prio_force = $html_selected #else: #set $prio_normal = $html_selected #end if
Click below to test

Torrent Results

How to handle Torrent search results.


Click below to test


All non-absolute folder locations are relative to $sickbeard.DATA_DIR
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')