#import sickbeard #from sickbeard.providers.generic import GenericProvider #from sickbeard.providers import thepiratebay #from sickbeard.helpers import anon_url, starify ## #set global $title = 'Config - Providers' #set global $header = 'Search Providers' #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 $methods_notused = [] #if not $sickbeard.USE_NZBS $methods_notused.append('Newznab') #end if #if not $sickbeard.USE_TORRENTS $methods_notused.append('Torrent') #end if #if $sickbeard.USE_NZBS or $sickbeard.USE_TORRENTS #end if ## #set $html_selected = ' selected="selected"' #set $html_checked = 'checked="checked" '

Provider Priorities

Check off and drag the providers into the order you want them to be used.

At least one provider is required but two are recommended.

#if $methods_notused
<%= '/'.join(x for x in methods_notused) %> providers can be enabled in Search Settings
#else
#end if
    #for $curProvider in $sickbeard.providers.sortedProviderList() #if $curProvider.providerType == $GenericProvider.NZB and not $sickbeard.USE_NZBS #continue #elif $curProvider.providerType == $GenericProvider.TORRENT and not $sickbeard.USE_TORRENTS #continue #end if #set $curName = $curProvider.get_id()
  • /> $curProvider.name $curProvider.name <%= '*' if not curProvider.supportsBacklog else '' %>
  • #end for

*

Provider does not support backlog searches at this time

#if $sickbeard.USE_TORRENTS

**

Provider supports limited backlog searches, some episodes/qualities may not be available

#end if ##

!

Provider is NOT WORKING

Provider Options

Configure individual provider settings here.

#for $curNewznabProvider in [$curProvider for $curProvider in $sickbeard.newznabProviderList]
#if $curNewznabProvider.default and $curNewznabProvider.needs_auth
#end if #if $hasattr($curNewznabProvider, 'enable_recentsearch') and $curNewznabProvider.supportsBacklog:
#end if #if $hasattr($curNewznabProvider, 'enable_backlog') and $curNewznabProvider.supportsBacklog:
#end if #if $hasattr($curNewznabProvider, 'search_mode') and $curNewznabProvider.supportsBacklog:
Season search mode

when searching for complete seasons, search for packs or collect single episodes

#end if #if $hasattr($curNewznabProvider, 'search_fallback') and $curNewznabProvider.supportsBacklog:
#end if
#end for ## ## #for $curNzbProvider in [$curProvider for $curProvider in $sickbeard.providers.sortedProviderList() if $curProvider.providerType == $GenericProvider.NZB and $curProvider not in $sickbeard.newznabProviderList]:
#if $hasattr($curNzbProvider, 'username'):
#end if #if $hasattr($curNzbProvider, 'api_key'):
#end if #if $hasattr($curNzbProvider, 'enable_recentsearch') and $curNzbProvider.supportsBacklog:
#end if #if $hasattr($curNzbProvider, 'enable_backlog') and $curNzbProvider.supportsBacklog:
#end if #if $hasattr($curNzbProvider, 'search_mode') and $curNzbProvider.supportsBacklog:
Season search mode

when searching for complete seasons, search for packs or collect single episodes

#end if #if $hasattr($curNzbProvider, 'search_fallback') and $curNzbProvider.supportsBacklog:
#end if #if not $curNzbProvider.supportsBacklog:
The latest releases are the focus of this provider, no backlog searching
#end if
#end for ## ## #for $curTorrentProvider in [$curProvider for $curProvider in $sickbeard.providers.sortedProviderList() if $curProvider.providerType == $GenericProvider.TORRENT]:
#if callable(getattr(curTorrentProvider, 'ui_string', None)) #set $field_name = curTorrentProvider.get_id() + '_tip' #set $tip_text = curTorrentProvider.ui_string($field_name) #if $tip_text

Important! ${curTorrentProvider.name} $tip_text

#end if #end if #if $hasattr($curTorrentProvider, 'api_key'):
#end if #if $hasattr($curTorrentProvider, 'digest'):
#end if #if $hasattr($curTorrentProvider, 'hash'):
#end if #if $hasattr($curTorrentProvider, 'username'):
#end if #if $hasattr($curTorrentProvider, 'password'):
#end if #if $hasattr($curTorrentProvider, 'passkey'):
#end if #if $hasattr($curTorrentProvider, '_seed_ratio') and 'blackhole' != $sickbeard.TORRENT_METHOD: #set $torrent_method_text = {'utorrent': 'uTorrent', 'transmission': 'Transmission', 'deluge': 'Deluge', 'download_station': 'Synology DS', 'rtorrent': 'rTorrent'}
#end if #if $hasattr($curTorrentProvider, 'seed_time') and 'utorrent' == $sickbeard.TORRENT_METHOD: #set $torrent_method_text = {'utorrent': 'uTorrent'} #set $use_default = 'to use the %s min torrent search setting minumum default' % ($sickbeard.TORRENT_SEED_TIME, $sbRoot) if $sickbeard.TORRENT_SEED_TIME else 'for the %s setting' % $torrent_method_text[$sickbeard.TORRENT_METHOD]
#end if #if $hasattr($curTorrentProvider, 'minseed'):
#end if #if $hasattr($curTorrentProvider, 'minleech'):
#end if #if $hasattr($curTorrentProvider, 'proxy'):
#if $hasattr($curTorrentProvider.proxy, 'url'):
#end if #end if #if $hasattr($curTorrentProvider, 'confirmed'):
#end if #if $hasattr($curTorrentProvider, 'freeleech'):
#end if #if $hasattr($curTorrentProvider, 'reject_m2ts'):
#end if #if $hasattr($curTorrentProvider, 'enable_recentsearch') and $curTorrentProvider.supportsBacklog:
#end if #if $hasattr($curTorrentProvider, 'enable_backlog') and $curTorrentProvider.supportsBacklog:
#end if #if $hasattr($curTorrentProvider, 'search_mode') and $curTorrentProvider.supportsBacklog:
Season search mode

when searching for complete seasons, search for packs or collect single episodes

#end if #if $hasattr($curTorrentProvider, 'search_fallback') and $curTorrentProvider.supportsBacklog:
#end if
#end for #if $provider_config_list
#end if
#if $sickbeard.USE_NZBS

Configure Custom
Newznab Providers

Add and setup or remove custom newznab providers.

#end if #if $sickbeard.USE_TORRENTS

Configure Custom Torrent Providers

Add or remove custom RSS providers.

#end if

#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')