#import sickgear #from sickgear import clients #from sickgear.helpers import anon_url, starify, generate_word_str <% def sg_var(varname, default=False): return getattr(sickgear, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickgear, varname, default) %>#slurp# ## #set global $title = 'Config - Search Tasks' #set global $header = 'Search Settings' #set global $sbPath = '../..' #set global $topmenu = 'config' ## #import os.path #include $os.path.join($sickgear.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"'
$xsrf_form_html

Search Tasks

How to manage searching with providers.

#if $getVar('using_regex', False)

Optional regex python library is being used

#else

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

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

#end if
#if $sickgear.USE_NZBS
#else #end if
connection result

NZB Results

How to handle NZB search results.

Important! To set up SABnzbd to communicate with SickGear, follow the guide here

Important! To set up NZBGet to communicate with SickGear, follow the guide here

#if not $sickgear.NZBGET_SKIP_PM

Important! NZBGet script calls will not process media. Set nzbget_skip_process_media = 0 in config.ini for full process

#end if
#set $prio_verylow = '' #set $prio_low = '' #set $prio_normal = '' #set $prio_high = '' #set $prio_veryhigh = '' #set $prio_force = '' #if -100 == $sickgear.NZBGET_PRIORITY: #set $prio_verylow = $html_selected #elif -50 == $sickgear.NZBGET_PRIORITY: #set $prio_low = $html_selected #elif 0 == $sickgear.NZBGET_PRIORITY: #set $prio_normal = $html_selected #elif 50 == $sickgear.NZBGET_PRIORITY: #set $prio_high = $html_selected #elif 100 == $sickgear.NZBGET_PRIORITY: #set $prio_veryhigh = $html_selected #elif 900 == $sickgear.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 $sickgear.DATA_DIR
#include $os.path.join($sickgear.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')