#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 $cur_provider in [$x for $x in $sickbeard.providers.sortedProviderList() if $x.providerType == $GenericProvider.NZB and $sickbeard.USE_NZBS or $x.providerType == $GenericProvider.TORRENT and $sickbeard.USE_TORRENTS] #set $cur_name = $cur_provider.get_id() #set $cur_url = $cur_provider.url #set $tip = ($cur_provider.name, 'Site Down')[not $cur_url] #set $state = ('', ' (Site Down?)')[not $cur_url]
  • /> $tip $cur_provider.name$state <%= '*' if not cur_provider.supports_backlog 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 $cur_newznab_provider in [$cur_provider for $cur_provider in $sickbeard.newznabProviderList]
#if $cur_newznab_provider.default and $cur_newznab_provider.needs_auth
#end if #if $hasattr($cur_newznab_provider, 'enable_recentsearch') and $cur_newznab_provider.supports_backlog:
#end if #if $hasattr($cur_newznab_provider, 'enable_backlog') and $cur_newznab_provider.supports_backlog:
#end if #if $hasattr($cur_newznab_provider, 'search_mode') and $cur_newznab_provider.supports_backlog:
Episode search mode

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

#end if #if $hasattr($cur_newznab_provider, 'search_fallback') and $cur_newznab_provider.supports_backlog:
#end if
#end for ## ## #for $cur_nzb_provider in [$cur_provider for $cur_provider in $sickbeard.providers.sortedProviderList() if $cur_provider.providerType == $GenericProvider.NZB and $cur_provider not in $sickbeard.newznabProviderList]:
#if $hasattr($cur_nzb_provider, 'username'):
#end if #if $hasattr($cur_nzb_provider, 'api_key'):
#end if #if $hasattr($cur_nzb_provider, 'enable_recentsearch') and $cur_nzb_provider.supports_backlog:
#end if #if $hasattr($cur_nzb_provider, 'enable_backlog') and $cur_nzb_provider.supports_backlog:
#end if #if $hasattr($cur_nzb_provider, 'search_mode') and $cur_nzb_provider.supports_backlog:
Episode search mode

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

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

Important! ${cur_torrent_provider.name} $tip_text

#end if #end if #if $getattr($cur_torrent_provider, 'url_edit', None):
#end if #if $hasattr($cur_torrent_provider, 'api_key'):
#end if #if $hasattr($cur_torrent_provider, 'digest'): #set $field_name = cur_torrent_provider.get_id() + '_digest'
#end if #if $hasattr($cur_torrent_provider, 'hash'):
#end if #for $user_type in ['username', 'uid']: #if $hasattr($cur_torrent_provider, $user_type): #set $prov_type = '%s_%s' % ($cur_torrent_provider.get_id(), $user_type) #set $user_value = $getattr($cur_torrent_provider, $user_type) or ''
#break #end if #end for #if $hasattr($cur_torrent_provider, 'password'):
#end if #if $hasattr($cur_torrent_provider, 'passkey'):
#end if #if $hasattr($cur_torrent_provider, '_seed_ratio') and $sickbeard.TORRENT_METHOD not in ('blackhole', 'qbittorrent'): #set $torrent_method_text = {'deluge': 'Deluge', 'qbittorrent': 'qBittorrent', 'rtorrent': 'rTorrent', 'download_station': 'Synology DS', 'transmission': 'Transmission', 'utorrent': 'uTorrent'}
#end if #if $hasattr($cur_torrent_provider, '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($cur_torrent_provider, 'minseed'):
#end if #if $hasattr($cur_torrent_provider, 'minleech'):
#end if #if $hasattr($cur_torrent_provider, 'confirmed'):
#end if #if $hasattr($cur_torrent_provider, 'freeleech'):
#end if #if $hasattr($cur_torrent_provider, 'reject_m2ts'):
#end if #if $hasattr($cur_torrent_provider, 'enable_recentsearch'):
#end if #if $hasattr($cur_torrent_provider, 'enable_backlog') and $cur_torrent_provider.supports_backlog:
#end if #if $hasattr($cur_torrent_provider, 'search_mode') and $cur_torrent_provider.supports_backlog:
Episode search mode

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

#end if #if $hasattr($cur_torrent_provider, 'search_fallback') and $cur_torrent_provider.supports_backlog:
#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')