2014-03-10 05:18:05 +00:00
#import sickbeard
2016-09-07 20:24:10 +00:00
#from sickbeard . clients import get_client_instance
2014-03-10 05:18:05 +00:00
#from sickbeard . providers . generic import GenericProvider
#from sickbeard . providers import thepiratebay
2015-02-24 13:37:27 +00:00
#from sickbeard . helpers import anon_url , starify
2015-05-07 00:36:40 +00:00
##
2015-07-13 09:39:20 +00:00
#set global $ title = ' Config - Providers '
2016-12-18 20:24:18 +00:00
#set global $ header = ' Media Providers '
2014-11-21 18:40:00 +00:00
#set global $ sbPath = ' ../.. '
#set global $ topmenu = ' config '
2015-05-07 00:36:40 +00:00
##
2014-03-10 05:18:05 +00:00
#import os . path
2014-11-21 18:40:00 +00:00
#include $ os . path . join ( $ sickbeard . PROG_DIR , ' gui/slick/interfaces/default/inc_top.tmpl ' )
2014-10-21 19:09:01 +00:00
2015-09-18 00:06:34 +00:00
#if $ varExists ( ' header ' )
2014-11-21 18:40:00 +00:00
<h1 class="header"> $ header </h1>
2015-09-18 00:06:34 +00:00
#else
2014-11-21 18:40:00 +00:00
<h1 class="title"> $ title </h1>
2014-03-10 05:18:05 +00:00
#end if
2014-11-21 18:40:00 +00:00
2015-09-12 07:17:26 +00:00
<script type="text/javascript" src=" $ sbRoot /js/configProviders.js?v= $ sbPID "></script>
<script type="text/javascript" src=" $ sbRoot /js/config.js?v= $ sbPID "></script>
2014-11-21 18:40:00 +00:00
#set $ methods_notused = [ ]
#if not $ sickbeard . USE_NZBS
$ methods_notused . append ('Newznab')
#end if
#if not $ sickbeard . USE_TORRENTS
$ methods_notused . append ('Torrent')
2014-03-10 05:18:05 +00:00
#end if
2018-05-14 02:21:08 +00:00
#slurp
2014-11-21 18:40:00 +00:00
#if $ sickbeard . USE_NZBS or $ sickbeard . USE_TORRENTS
2014-03-10 05:18:05 +00:00
<script type="text/javascript" charset="utf-8">
<!--
\$(document).ready(function(){
2014-11-21 18:40:00 +00:00
#if $ sickbeard . USE_NZBS
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#for $ cur_newznab_provider in $ sickbeard . newznabProviderList :
2018-05-14 02:21:08 +00:00
\$(this).addProvider(' $ cur_newznab_provider . get_id ()', ' $ cur_newznab_provider . name ', ' $ cur_newznab_provider . url ', '<%= starify(cur_newznab_provider.key) %>', ' $ cur_newznab_provider . cat_ids ', $ int ( $ cur_newznab_provider . default ), !0);
2014-11-21 18:40:00 +00:00
#end for
#end if
#if $ sickbeard . USE_TORRENTS
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#for $ cur_torrent_rss_provider in $ sickbeard . torrentRssProviderList :
2018-05-14 02:21:08 +00:00
\$(this).addTorrentRssProvider(' $ cur_torrent_rss_provider . get_id ()', ' $ cur_torrent_rss_provider . name ', ' $ cur_torrent_rss_provider . url ', '<%= starify(cur_torrent_rss_provider.cookies) %>');
2014-11-21 18:40:00 +00:00
#end for
#end if
2014-03-10 05:18:05 +00:00
});
//-->
</script>
#end if
2015-05-07 00:36:40 +00:00
##
#set $ html_selected = ' selected= " selected " '
#set $ html_checked = ' checked= " checked " '
2018-05-14 02:21:08 +00:00
#set $ backlog_only_tip = False
2014-11-21 18:40:00 +00:00
<div id="config" class="search_providers">
<div id="config-content">
<form id="configForm" action="saveProviders" method="post">
2018-03-29 16:23:33 +00:00
$ xsrf_form_html
2014-11-21 18:40:00 +00:00
<div id="config-components">
<ul>
2017-01-02 18:44:35 +00:00
<li><a href=" #core - component - group1 " >Priorities</a></li>
<li><a href=" #core - component - group2 " >Options</a></li>
2014-11-21 18:40:00 +00:00
#if $ sickbeard . USE_NZBS
2016-12-18 20:24:18 +00:00
<li><a href=" #core - component - group3 " >Custom Newznab</a></li>
2014-11-21 18:40:00 +00:00
#end if
#if $ sickbeard . USE_TORRENTS
2016-12-18 20:24:18 +00:00
<li><a href=" #core - component - group4 " >Custom Torrent</a></li>
2014-11-21 18:40:00 +00:00
#end if
</ul>
<div id="core-component-group1" class="component-group">
<fieldset class="component-group-list">
<div class="component-group-desc">
2017-01-02 18:44:35 +00:00
<h3>Priorities</h3>
2016-12-31 00:49:20 +00:00
<p>Allows searching recent and past releases.</p>
2017-01-02 18:44:35 +00:00
<p>Check off and drag providers into the order you want them to be used.</p>
2016-08-26 23:36:01 +00:00
<p>At least one provider is required, two are recommended.</p>
2014-11-21 18:40:00 +00:00
#if $ methods_notused
2015-07-13 09:39:20 +00:00
<blockquote style="margin:20px 0"><%= '/'.join(x for x in methods_notused) %> providers can be enabled in <a href=" $ sbRoot /config/search/">Search Settings</a></blockquote>
2014-11-21 18:40:00 +00:00
#else
<br/>
#end if
</div>
<ul id="provider_order_list" class="provider_order_panel">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#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
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
#set $ show_type = $ sickbeard . USE_NZBS and $ sickbeard . USE_TORRENTS and $ GenericProvider . NZB == $ cur_provider . providerType
2016-11-20 02:23:37 +00:00
#set $ bad_url = not $ cur_url and cur_provider . is_enabled ( )
#set $ tip = ( $ cur_provider . name + ( ' ' , ' (enable for link) ' ) [ not $ cur_url and not cur_provider . is_enabled ( ) ] ,
'Site Down')[ $ bad_url ]
#set $ state = ( ' ' , ' <span class= " red-text " >(Site Down?)</span> ' ) [ $ bad_url ]
2017-01-02 18:44:35 +00:00
<li class="ui-state-default row- #echo ( ' odd ' , ' even ' ) [ $ show_type or not $ sickbeard . USE_TORRENTS ] # #echo ( ' ' , ' provider-enabled ' ) [ $ cur_provider . is_enabled ( ) ] # " id=" $ cur_name ">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="checkbox" id="enable_ $ cur_name " class="provider_enabler" <%= html_checked if cur_provider.is_enabled() else '' %>/>
2016-11-20 02:23:37 +00:00
<a class="imgLink" #if $ cur_url # href="<%= anon_url(cur_url) %>" onclick="window.open(this.href,'_blank');return false;" #else # name="" #end if# rel="noreferrer"><img src=" $ sbRoot /images/providers/ $ cur_provider . image_name ()" alt=" $ tip " title=" $ tip " width="16" height="16" style="vertical-align:middle" /></a>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<span style="vertical-align:middle"> $ cur_provider . name $ state </span>
2018-05-14 02:21:08 +00:00
#if $ cur_provider . is_public_access ( ) and type ( $ cur_provider ) . __name__ not in [ ' TorrentRssProvider ' ] #
2016-08-26 23:36:01 +00:00
<span style="font-size:10px;vertical-align:top;font-weight:normal">(PA)</span>
2018-05-14 02:21:08 +00:00
#end if# #if $ show_type # #slurp
Add fanart to Episodes View, Display Show, Edit Show, and Media Renamer page.
Add "Maximum fanart image files per show to cache" to config General/Interface.
Add populate images when the daily show updater is run with a default maximum 3 images per show.
Change force full update in a show will replace existing images with new.
Add fanart livepanel to lower right of Episodes View and Display Show page.
Add highlight panel red until button is clicked a few times.
Add flick through multiple background images on Episodes View and Display Show page.
Add persistent move poster image to right hand side or hide on Display Show page (multi-click the eye).
Add persistent translucency of background images on Episodes View and Display Show page.
Add persistent fanart rating to avoid art completely, random display, random from a group, or display fave always.
Add persistent views of the show detail on Display Show page.
Add persistent views on Episodes View.
Add persistent button to collapse and expand card images on Episode View/Layout daybyday.
Add non persistent "Open gear" and "Full fanart" image views to Episodes View and Display Show page.
Add "smart" selection of fanart image to display on Episode view.
Change insert [!] and change text shade of ended shows in drop down show list on Display Show page.
Change button graphic for next and previous show of show list on Display Show page.
Add logic to hide some livepanel buttons until artwork becomes available or in other circumstances.
Add "(Ended)" where appropriate to show title on Display Show page.
Add links to fanart.tv where appropriate on Display Show page.
Change use tense for label "Airs" or "Aired" depending on if show ended.
Change display "No files" instead of "0 files" and "Upgrade once" instead of "End upgrade on first match".
Add persistent button to newest season to "Show all" episodes.
Add persistent button to all shown seasons to "Hide most" episodes.
Add button to older seasons to toggle "Show Season n" or "Show Specials" with "Hide..." episodes.
Add season level status counts next to each season header on display show page
Add sorting to season table headers on display show page
Add filename and size to quality badge on display show page, removed its redundant "downloaded" text
Remove redundant "Add show" buttons
Change combine the NFO and TBN columns into a single Meta column
Change reduce screen estate used by episode numbers columns
Change improve clarity of text on Add Show page.
Add "Reset fanart ratings" to show Edit/Other tab.
Add fanart usage to show Edit/Other tab.
Add fanart keys guide to show Edit/Other tab.
Change add placeholder tip to "Alternative release name(s)" on show Edit.
Change add placeholder tip to search box on shows Search.
Change hide Anime tips on show Edit when selecting its mutually exclusive options.
Change label "End upgrade on first match" to "Upgrade once" on show Edit.
Change improve performance rendering displayShow.
Add total episodes to start of show description (excludes specials if those are hidden).
Add "Add show" actions i.e. "Search", "Trakt cards", "IMDb cards", and "Anime" to Shows menu.
Add "Import (existing)" action to Tools menu.
Change SD quality from red to dark green, 2160p UHD 4K is red.
Change relocate the functions of Logs & Errors to the right side Tools menu -> View Log File.
Add warning indicator to the Tools menu in different colour depending on error count (green through red).
Change View Log error item output from reversed to natural order.
Change View Log add a typeface and some colour to improve readability.
Change View Log/Errors only display "Clear Errors" button when there are errors to clear.
Change improve performance of View Log File.
2016-02-28 23:43:40 +00:00
<span style="font-size:10px;vertical-align:top;font-weight:normal">( $ cur_provider . providerType )</span>
2018-05-14 02:21:08 +00:00
#end if# #if not $ cur_provider . supports_backlog # * #set $ backlog_only_tip = True # #end if# #slurp
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<span class="ui-icon ui-icon-arrowthick-2-n-s pull-right" style="margin-top:3px"></span>
</li>
2014-11-21 18:40:00 +00:00
#end for
</ul>
<div id="provider_key">
2016-08-26 23:36:01 +00:00
<span style="float:left;font-size:10px;vertical-align:top;font-weight:normal">(PA)</span><p class="note">Public access, no account required</p>
2018-05-14 02:21:08 +00:00
#if $ backlog_only_tip
<h4 class="note">*</h4><p class="note">No backlog, latest releases only</p>
#end if
2016-08-26 23:36:01 +00:00
## #if $sickbeard.USE_TORRENTS
## <h4 class="note">**</h4><p class="note">Supports <b>limited</b> backlog searches, some episodes/qualities may not be available</p>
## #end if
2014-11-21 18:40:00 +00:00
##<h4 class="note">!</h4><p class="note">Provider is <b>NOT WORKING</b></p>
</div>
2015-07-13 09:39:20 +00:00
<input type="hidden" name="provider_order" id="provider_order" value="<%=' '.join([x.get_id()+':'+str(int(x.is_enabled())) for x in sickbeard.providers.sortedProviderList()])%>"/>
2014-11-21 18:40:00 +00:00
<div style="width: 300px; float: right">
<div style="margin: 0px auto; width: 101px">
<input type="submit" class="btn config_submitter" value="Save Changes" />
</div>
</div>
</fieldset>
</div><!-- /component-group1 //-->
<div id="core-component-group2" class="component-group">
<div class="component-group-desc">
2017-01-02 18:44:35 +00:00
<h3>Options</h3>
<p>Individual provider settings.</p>
2014-11-21 18:40:00 +00:00
</div>
<fieldset class="component-group-list">
<div class="field-pair">
<label for="editAProvider">
<span class="component-title">Configure provider:</span>
<span class="component-desc">
#set $ provider_config_list_enabled = [ ]
#set $ provider_config_list = [ ]
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#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 ]
#if $ cur_provider . is_enabled ( )
2018-05-14 02:21:08 +00:00
#set void = $ provider_config_list_enabled . append ( $ cur_provider )
2014-11-21 18:40:00 +00:00
#else
2018-05-14 02:21:08 +00:00
#set void = $ provider_config_list . append ( $ cur_provider )
2014-11-21 18:40:00 +00:00
#end if
#end for
#if $ provider_config_list + $ provider_config_list_enabled
<select id="editAProvider" class="form-control input-sm">
#if $ provider_config_list_enabled
<optgroup label="Enabled...">
#for $ cur_provider in $ provider_config_list_enabled :
2015-07-13 09:39:20 +00:00
<option value=" $ cur_provider . get_id ()"> $ cur_provider . name </option>
2014-11-21 18:40:00 +00:00
#end for
</optgroup>
#end if
#if $ provider_config_list
<optgroup label="Not Enabled...">
#for $ cur_provider in $ provider_config_list
2015-07-13 09:39:20 +00:00
<option value=" $ cur_provider . get_id ()"> $ cur_provider . name </option>
2014-11-21 18:40:00 +00:00
#end for
</optgroup>
#end if
</select><p>note: must refresh browser after saving enabled providers for an up to date list</p>
#else
<p>No providers available to configure</p>
#end if
</span>
</label>
</div>
<!-- start div for editing providers //-->
2017-01-02 18:44:35 +00:00
#set $ recentsearch_tip = ' match recent episodes from results of latest releases '
#set $ backlogsearch_tip = ' allow active searching for individual episode releases '
#set $ scheduled_backlog_tip = ' enable scheduled searching for backlogged episodes '
2018-05-14 02:21:08 +00:00
#set $ filter_title = ' Only allow releases that are '
#set $ filter_scene_only_desc = ' scene releases (srrDB/predb listed) '
#set $ filter_scene_or_contain_desc = ' ...or contain '
#set $ filter_scene_loose_desc = ' non scene if no recent search results '
#set $ filter_scene_loose_active_desc = ' non scene if no active search results '
#set $ filter_scene_rej_nuked_desc = ' not scene nuked '
#set $ filter_scene_nuked_active_desc = ' nuked if no active search results '
#set $ filter_tip = ' nothing selected allows everything (i.e. no filtering, default) '
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#for $ cur_newznab_provider in [ $ cur_provider for $ cur_provider in $ sickbeard . newznabProviderList ]
<div class="providerDiv" id=" ${ cur_newznab_provider . get_id ( ) } Div">
2017-01-02 18:44:35 +00:00
#set $ can_recent = $ hasattr ( $ cur_newznab_provider , ' enable_recentsearch ' )
#set $ can_backlog = $ hasattr ( $ cur_newznab_provider , ' enable_backlog ' )
#set $ can_schedule_backlog = $ hasattr ( $ cur_newznab_provider , ' enable_scheduled_backlog ' )
#if $ cur_newznab_provider . supports_backlog and ( $ can_recent or $ can_backlog or $ can_schedule_backlog )
<div class="field-pair">
<span class="component-title">Perform search tasks</span>
<span class="component-desc">
#if $ can_recent
<label for=" ${ cur_newznab_provider . get_id ( ) } _enable_recentsearch" style="display:inline">
2018-05-14 02:21:08 +00:00
<input class="view-if" type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _enable_recentsearch" id=" ${ cur_newznab_provider . get_id ( ) } _enable_recentsearch" <%= html_checked if cur_newznab_provider.enable_recentsearch else '' %>/>
2017-01-02 18:44:35 +00:00
<p> $ recentsearch_tip </p>
</label>
#end if
#if $ can_backlog
<label for=" ${ cur_newznab_provider . get_id ( ) } _enable_backlog" style="display:inline">
2018-05-14 02:21:08 +00:00
<input class="enabler view-if" type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _enable_backlog" id=" ${ cur_newznab_provider . get_id ( ) } _enable_backlog" <%= html_checked if cur_newznab_provider.enable_backlog else '' %>/>
2017-01-02 18:44:35 +00:00
<p> $ backlogsearch_tip </p>
</label>
#end if
#if $ can_schedule_backlog
<div id="content_ ${ cur_newznab_provider . get_id ( ) } _enable_backlog">
<label for=" ${ cur_newznab_provider . get_id ( ) } _enable_scheduled_backlog" style="display:inline">
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _enable_scheduled_backlog" id=" ${ cur_newznab_provider . get_id ( ) } _enable_scheduled_backlog" <%= html_checked if cur_newznab_provider.enable_scheduled_backlog else '' %>/>
<p> $ scheduled_backlog_tip </p>
</label>
</div>
#end if
</span>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ cur_newznab_provider . default and $ cur_newznab_provider . needs_auth
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_newznab_provider . get_id ( ) } _url">
2014-11-21 18:40:00 +00:00
<span class="component-title">URL</span>
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" id=" ${ cur_newznab_provider . get_id ( ) } _url" value=" $ cur_newznab_provider . url " class="form-control input-sm input350" disabled/>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_newznab_provider . get_id ( ) } _hash">
2014-11-21 18:40:00 +00:00
<span class="component-title">API key</span>
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" id=" ${ cur_newznab_provider . get_id ( ) } _hash" value="<%= starify(cur_newznab_provider.key) %>" newznab_name=" ${ cur_newznab_provider . get_id ( ) } _hash" class="newznab_key form-control input-sm input350" />
2014-11-21 18:40:00 +00:00
<div class="clear-left"><p>get API key from provider website</p></div>
</span>
</label>
</div>
#end if
2018-04-13 11:11:21 +00:00
<div class="field-pair">
2018-05-14 02:21:08 +00:00
<span class="component-title"> $ filter_title </span>
2018-04-13 11:11:21 +00:00
<span class="component-desc">
2018-05-14 02:21:08 +00:00
<div style="margin-bottom:10px">
<div style="float:left;max-width:230px">
<label for=" ${ cur_newznab_provider . get_id ( ) } _scene_only">
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _scene_only" id=" ${ cur_newznab_provider . get_id ( ) } _scene_only" <%= html_checked if cur_newznab_provider.scene_only else '' %>>
<span> $ filter_scene_only_desc </span>
</label>
<label for=" ${ cur_newznab_provider . get_id ( ) } _scene_or_contain">
$ filter_scene_or_contain_desc <input style="float:right;margin-left:4px;padding:2px 4px;height:24px;width:144px" type="text" name=" ${ cur_newznab_provider . get_id ( ) } _scene_or_contain" placeholder="(opt: start 'regex:')" value="<%= cur_newznab_provider.scene_or_contain %>" class="form-control input-sm input150">
</label>
</div>
<div style="margin-left:230px">
<label class="show-if- ${ cur_newznab_provider . get_id ( ) } _enable_recentsearch" for=" ${ cur_newznab_provider . get_id ( ) } _scene_loose">
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _scene_loose" id=" ${ cur_newznab_provider . get_id ( ) } _scene_loose" <%= html_checked if cur_newznab_provider.scene_loose else '' %>>
<span> $ filter_scene_loose_desc </span>
</label>
<label class="show-if- ${ cur_newznab_provider . get_id ( ) } _enable_backlog" for=" ${ cur_newznab_provider . get_id ( ) } _scene_loose_active">
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _scene_loose_active" id=" ${ cur_newznab_provider . get_id ( ) } _scene_loose_active" <%= html_checked if cur_newznab_provider.scene_loose_active else '' %>>
<span> $ filter_scene_loose_active_desc </span>
</label>
</div>
<div style="clear:both">
<label style="float:left;min-width:230px" for=" ${ cur_newznab_provider . get_id ( ) } _scene_rej_nuked">
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _scene_rej_nuked" id=" ${ cur_newznab_provider . get_id ( ) } _scene_rej_nuked" <%= html_checked if cur_newznab_provider.scene_rej_nuked else '' %>>
<span> $ filter_scene_rej_nuked_desc </span>
</label>
<label class="show-if- ${ cur_newznab_provider . get_id ( ) } _enable_backlog" for=" ${ cur_newznab_provider . get_id ( ) } _scene_nuked_active">
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _scene_nuked_active" id=" ${ cur_newznab_provider . get_id ( ) } _scene_nuked_active" <%= html_checked if cur_newznab_provider.scene_nuked_active else '' %>>
<span> $ filter_scene_nuked_active_desc </span>
</label>
</div>
</div>
#if $ hasattr ( $ cur_newznab_provider , ' may_filter ' ) :
<div>
2018-04-13 11:11:21 +00:00
#for $ cur_fval , $ filter in $ cur_newznab_provider . may_filter . iteritems ( )
#set $ cur_fname , $ cur_is_default = $ filter [ 0 ] , $ filter [ 1 ]
#set $ filter_id = ' %s _filter_ %s ' % ( $ cur_newznab_provider . get_id ( ) , $ cur_fval )
2018-05-14 02:21:08 +00:00
<label class="space-right">
<input type="checkbox" name=" $ filter_id " id=" $ filter_id " #echo ( ' ' , $ html_checked ) [ $ cur_fval in $ cur_newznab_provider . filter ] # />
<span> $ cur_fname </span>
</label>
2018-04-13 11:11:21 +00:00
#end for
2018-05-14 02:21:08 +00:00
<span>(see $ cur_newznab_provider . name )</span>
</div>
#end if
<p style="clear:both"> $ filter_tip </p>
2018-04-13 11:11:21 +00:00
</span>
</div>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_newznab_provider , ' search_mode ' ) and $ cur_newznab_provider . supports_backlog :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<span class="component-title">Episode search mode</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
<label class="space-right">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="radio" name=" ${ cur_newznab_provider . get_id ( ) } _search_mode" id=" ${ cur_newznab_provider . get_id ( ) } _search_mode_eponly" value="eponly" <%= html_checked if 'eponly' == cur_newznab_provider.search_mode else '' %>/>episodes only (normal use)
2014-11-21 18:40:00 +00:00
</label>
<label>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="radio" name=" ${ cur_newznab_provider . get_id ( ) } _search_mode" id=" ${ cur_newznab_provider . get_id ( ) } _search_mode_sponly" value="sponly" <%= html_checked if 'sponly' == cur_newznab_provider.search_mode else '' %>/>season packs only
2014-11-21 18:40:00 +00:00
</label>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<p>when searching for episodes, collect single episodes or search for packs</p>
2014-11-21 18:40:00 +00:00
</span>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_newznab_provider , ' search_fallback ' ) and $ cur_newznab_provider . supports_backlog :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_newznab_provider . get_id ( ) } _search_fallback">
<span class="component-title">Episode search fallback</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="checkbox" name=" ${ cur_newznab_provider . get_id ( ) } _search_fallback" id=" ${ cur_newznab_provider . get_id ( ) } _search_fallback" <%= html_checked if cur_newznab_provider.search_fallback else '' %>/>
<p>use the alternate episode search mode if no match is found -- warning; may result in a heavy block hit -- best use: manually collect a season, disable after.</p>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
</div>
#end for
2015-07-13 09:39:20 +00:00
##
2014-11-21 18:40:00 +00:00
2015-07-13 09:39:20 +00:00
##
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#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 ]:
<div class="providerDiv" id=" ${ cur_nzb_provider . get_id ( ) } Div">
2017-01-02 18:44:35 +00:00
#set $ can_recent = $ hasattr ( $ cur_nzb_provider , ' enable_recentsearch ' )
#set $ can_backlog = $ hasattr ( $ cur_nzb_provider , ' enable_backlog ' )
#set $ can_schedule_backlog = $ hasattr ( $ cur_nzb_provider , ' enable_scheduled_backlog ' )
#if $ cur_nzb_provider . supports_backlog and ( $ can_recent or $ can_backlog or $ can_schedule_backlog )
<div class="field-pair">
<span class="component-title">Perform search tasks</span>
<span class="component-desc">
#if $ can_recent
<label for=" ${ cur_nzb_provider . get_id ( ) } _enable_recentsearch" style="display:inline">
2018-05-14 02:21:08 +00:00
<input class="view-if" type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _enable_recentsearch" id=" ${ cur_nzb_provider . get_id ( ) } _enable_recentsearch" <%= html_checked if cur_nzb_provider.enable_recentsearch else '' %>/>
2017-01-02 18:44:35 +00:00
<p> $ recentsearch_tip </p>
</label>
#end if
#if $ can_backlog
<label for=" ${ cur_nzb_provider . get_id ( ) } _enable_backlog" style="display:inline">
2018-05-14 02:21:08 +00:00
<input class="enabler view-if" type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _enable_backlog" id=" ${ cur_nzb_provider . get_id ( ) } _enable_backlog" <%= html_checked if cur_nzb_provider.enable_backlog else '' %>/>
2017-01-02 18:44:35 +00:00
<p> $ backlogsearch_tip </p>
</label>
#end if
#if $ can_schedule_backlog
<div id="content_ ${ cur_nzb_provider . get_id ( ) } _enable_backlog">
<label for=" ${ cur_nzb_provider . get_id ( ) } _enable_scheduled_backlog" style="display:inline">
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _enable_scheduled_backlog" id=" ${ cur_nzb_provider . get_id ( ) } _enable_scheduled_backlog" <%= html_checked if cur_nzb_provider.enable_scheduled_backlog else '' %>/>
<p> $ scheduled_backlog_tip </p>
</label>
</div>
#end if
</span>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_nzb_provider , ' username ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_nzb_provider . get_id ( ) } _username">
2014-11-21 18:40:00 +00:00
<span class="component-title">Username</span>
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" name=" ${ cur_nzb_provider . get_id ( ) } _username" value=" $ cur_nzb_provider . username " class="form-control input-sm input350" />
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_nzb_provider , ' api_key ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_nzb_provider . get_id ( ) } _api_key">
2014-11-21 18:40:00 +00:00
<span class="component-title">API key</span>
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#set $ field_name = cur_nzb_provider . get_id ( ) + ' _api_key '
<input type="text" name=" $ field_name " value="<%= starify(cur_nzb_provider.api_key) %>" class="form-control input-sm input350" />
#if callable ( getattr ( cur_nzb_provider , ' ui_string ' , None ) )
<div class="clear-left"><p> ${ cur_nzb_provider . ui_string ( $ field_name ) } </p></div>
2015-07-13 09:39:20 +00:00
#end if
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
2018-05-14 02:21:08 +00:00
<div class="field-pair">
<span class="component-title"> $ filter_title </span>
<span class="component-desc">
<div style="margin-bottom:10px">
<div style="float:left;max-width:230px">
<label for=" ${ cur_nzb_provider . get_id ( ) } _scene_only">
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _scene_only" id=" ${ cur_nzb_provider . get_id ( ) } _scene_only" <%= html_checked if cur_nzb_provider.scene_only else '' %>>
<span> $ filter_scene_only_desc </span>
</label>
<label for=" ${ cur_nzb_provider . get_id ( ) } _scene_or_contain">
$ filter_scene_or_contain_desc <input style="float:right;margin-left:4px;padding:2px 4px;height:24px;width:144px" type="text" name=" ${ cur_nzb_provider . get_id ( ) } _scene_or_contain" placeholder="(opt: start 'regex:')" value="<%= cur_nzb_provider.scene_or_contain %>" class="form-control input-sm input150">
</label>
</div>
<div style="margin-left:230px">
<label class="show-if- ${ cur_nzb_provider . get_id ( ) } _enable_recentsearch" for=" ${ cur_nzb_provider . get_id ( ) } _scene_loose">
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _scene_loose" id=" ${ cur_nzb_provider . get_id ( ) } _scene_loose" <%= html_checked if cur_nzb_provider.scene_loose else '' %>>
<span> $ filter_scene_loose_desc </span>
</label>
<label class="show-if- ${ cur_nzb_provider . get_id ( ) } _enable_backlog" for=" ${ cur_nzb_provider . get_id ( ) } _scene_loose_active">
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _scene_loose_active" id=" ${ cur_nzb_provider . get_id ( ) } _scene_loose_active" <%= html_checked if cur_nzb_provider.scene_loose_active else '' %>>
<span> $ filter_scene_loose_active_desc </span>
</label>
</div>
<div style="clear:both">
<label style="float:left;min-width:230px" for=" ${ cur_nzb_provider . get_id ( ) } _scene_rej_nuked">
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _scene_rej_nuked" id=" ${ cur_nzb_provider . get_id ( ) } _scene_rej_nuked" <%= html_checked if cur_nzb_provider.scene_rej_nuked else '' %>>
<span> $ filter_scene_rej_nuked_desc </span>
</label>
<label class="show-if- ${ cur_nzb_provider . get_id ( ) } _enable_backlog" for=" ${ cur_nzb_provider . get_id ( ) } _scene_nuked_active">
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _scene_nuked_active" id=" ${ cur_nzb_provider . get_id ( ) } _scene_nuked_active" <%= html_checked if cur_nzb_provider.scene_nuked_active else '' %>>
<span> $ filter_scene_nuked_active_desc </span>
</label>
</div>
</div>
<p style="clear:both"> $ filter_tip </p>
</span>
</div>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_nzb_provider , ' search_mode ' ) and $ cur_nzb_provider . supports_backlog :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<span class="component-title">Episode search mode</span>
2015-07-13 09:39:20 +00:00
<span class="component-desc">
<label class="space-right">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="radio" name=" ${ cur_nzb_provider . get_id ( ) } _search_mode" id=" ${ cur_nzb_provider . get_id ( ) } _search_mode_eponly" value="eponly" <%= html_checked if 'eponly' == cur_nzb_provider.search_mode else '' %>/>episodes only (normal use)
2015-07-13 09:39:20 +00:00
</label>
<label>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="radio" name=" ${ cur_nzb_provider . get_id ( ) } _search_mode" id=" ${ cur_nzb_provider . get_id ( ) } _search_mode_sponly" value="sponly" <%= html_checked if 'sponly' == cur_nzb_provider.search_mode else '' %>/>season packs only
2015-07-13 09:39:20 +00:00
</label>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<p>when searching for episodes, collect single episodes or search for packs</p>
2015-07-13 09:39:20 +00:00
</span>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_nzb_provider , ' search_fallback ' ) and $ cur_nzb_provider . supports_backlog :
2015-07-13 09:39:20 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_nzb_provider . get_id ( ) } _search_fallback">
<span class="component-title">Episode search fallback</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="checkbox" name=" ${ cur_nzb_provider . get_id ( ) } _search_fallback" id=" ${ cur_nzb_provider . get_id ( ) } _search_fallback" <%= html_checked if cur_nzb_provider.search_fallback else '' %>/>
<p>use the alternate episode search mode if no match is found -- warning; may result in a heavy block hit -- best use: manually collect a season, disable after.</p>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if not $ cur_nzb_provider . supports_backlog :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
2015-07-13 09:39:20 +00:00
<span class="component-desc">The latest releases are the focus of this provider, no backlog searching</span>
2014-11-21 18:40:00 +00:00
</div>
#end if
</div>
#end for
2015-07-13 09:39:20 +00:00
##
2014-11-21 18:40:00 +00:00
2015-07-13 09:39:20 +00:00
##
2016-06-17 18:59:46 +00:00
#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 []:
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<div class="providerDiv" id=" ${ cur_torrent_provider . get_id ( ) } Div">
#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 )
2015-09-18 00:06:34 +00:00
#if $ tip_text
<div class="field-pair">
<span class="component-desc" style="margin:0;width:100%">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<div class="clear-left"><p class="grey-text"><span class="red-text">Important! ${ cur_torrent_provider . name } </span> $ tip_text </p></div>
2015-09-18 00:06:34 +00:00
</span>
</div>
#end if
#end if
2017-01-02 18:44:35 +00:00
#set $ can_recent = $ hasattr ( $ cur_torrent_provider , ' enable_recentsearch ' )
#set $ can_backlog = $ hasattr ( $ cur_torrent_provider , ' enable_backlog ' )
#set $ can_schedule_backlog = $ hasattr ( $ cur_torrent_provider , ' enable_scheduled_backlog ' )
#if $ cur_torrent_provider . supports_backlog and ( $ can_recent or $ can_backlog or $ can_schedule_backlog )
<div class="field-pair">
<span class="component-title">Perform search tasks</span>
<span class="component-desc">
#if $ can_recent
<label for=" ${ cur_torrent_provider . get_id ( ) } _enable_recentsearch" style="display:inline">
2018-05-14 02:21:08 +00:00
<input class="view-if" type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _enable_recentsearch" id=" ${ cur_torrent_provider . get_id ( ) } _enable_recentsearch" <%= html_checked if cur_torrent_provider.enable_recentsearch else '' %>/>
2017-01-02 18:44:35 +00:00
<p> $ recentsearch_tip </p>
</label>
#end if
#if $ can_backlog
<label for=" ${ cur_torrent_provider . get_id ( ) } _enable_backlog" style="display:inline">
2018-05-14 02:21:08 +00:00
<input class="enabler view-if" type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _enable_backlog" id=" ${ cur_torrent_provider . get_id ( ) } _enable_backlog" <%= html_checked if cur_torrent_provider.enable_backlog else '' %>/>
2017-01-02 18:44:35 +00:00
<p> $ backlogsearch_tip </p>
</label>
#end if
#if $ can_schedule_backlog
<div id="content_ ${ cur_torrent_provider . get_id ( ) } _enable_backlog">
<label for=" ${ cur_torrent_provider . get_id ( ) } _enable_scheduled_backlog" style="display:inline">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _enable_scheduled_backlog" id=" ${ cur_torrent_provider . get_id ( ) } _enable_scheduled_backlog" <%= html_checked if cur_torrent_provider.enable_scheduled_backlog else '' %>/>
<p> $ scheduled_backlog_tip </p>
</label>
</div>
#end if
</span>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ getattr ( $ cur_torrent_provider , ' url_edit ' , None ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for="url_base">
#set $ url_label = callable ( getattr ( cur_torrent_provider , ' ui_string ' , None ) ) and cur_torrent_provider . ui_string ( cur_torrent_provider . get_id ( ) + ' _site_url ' ) or ' Site URL '
<span class="component-title"> $ url_label </span>
<span class="component-desc">
#set $ field_name = cur_torrent_provider . get_id ( ) + ' _url_edit '
<input type="text" name=" $ field_name " id=" $ field_name " value="<%= ', '.join(cur_torrent_provider.url_home) %>" class="form-control input-sm input350" />
#if callable ( getattr ( cur_torrent_provider , ' ui_string ' , None ) )
<div class="clear-left"><p> ${ cur_torrent_provider . ui_string ( $ field_name ) } </p></div>
#end if
</span>
</label>
</div>
#end if
#if $ hasattr ( $ cur_torrent_provider , ' api_key ' ) :
2018-05-17 00:07:25 +00:00
#set $ field_name = cur_torrent_provider . get_id ( ) + ' _api_key '
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<div class="field-pair">
2018-05-17 00:07:25 +00:00
<label for=" $ field_name ">
#set $ url_label = callable ( getattr ( cur_torrent_provider , ' ui_string ' , None ) ) and cur_torrent_provider . ui_string ( $ field_name ) or ' Api key '
<span class="component-title"> $ url_label </span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
2018-05-17 00:07:25 +00:00
<input type="text" name=" $ field_name " id=" $ field_name " value="<%= starify(cur_torrent_provider.api_key) %>" class="form-control input-sm input350" />
#if callable ( getattr ( cur_torrent_provider , ' ui_string ' , None ) )
#set $ tip_text = cur_torrent_provider . ui_string ( $ field_name + ' _tip ' )
<div class="clear-left"><p> $ tip_text </p></div>
#end if
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' digest ' ) :
#set $ field_name = cur_torrent_provider . get_id ( ) + ' _digest '
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" $ field_name ">
2015-09-16 23:52:18 +00:00
<span class="component-title">Cookies:</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" name=" $ field_name " id=" $ field_name " value="<%= starify(cur_torrent_provider.digest) %>" class="form-control input-sm input350" />
#if callable ( getattr ( cur_torrent_provider , ' ui_string ' , None ) )
<div class="clear-left"><p> ${ cur_torrent_provider . ui_string ( $ field_name ) } </p></div>
2015-09-16 23:52:18 +00:00
#end if
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' hash ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _hash">
2014-11-21 18:40:00 +00:00
<span class="component-title">Hash:</span>
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" name=" ${ cur_torrent_provider . get_id ( ) } _hash" id=" ${ cur_torrent_provider . get_id ( ) } _hash" value=" $ cur_torrent_provider . hash " class="form-control input-sm input350" />
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#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 ' '
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" $ prov_type ">
<span class="component-title"> $ user_type . capitalize ():</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" name=" $ prov_type " id=" $ prov_type " value=" $ user_value " class="form-control input-sm input350" />
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#break
#end if
#end for
#if $ hasattr ( $ cur_torrent_provider , ' password ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _password">
2014-11-21 18:40:00 +00:00
<span class="component-title">Password:</span>
<span class="component-desc">
2016-11-19 03:19:57 +00:00
<input type="password" autocomplete="nope" name=" ${ cur_torrent_provider . get_id ( ) } _password" id=" ${ cur_torrent_provider . get_id ( ) } _password" value=" #echo $ cur_torrent_provider . password and ' * ' * len ( $ cur_torrent_provider . password ) or ' ' # " class="form-control input-sm input350">
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' passkey ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _passkey">
2014-11-21 18:40:00 +00:00
<span class="component-title">Passkey:</span>
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="text" name=" ${ cur_torrent_provider . get_id ( ) } _passkey" id=" ${ cur_torrent_provider . get_id ( ) } _passkey" value="<%= starify(cur_torrent_provider.passkey) %>" class="form-control input-sm input350" />
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
2016-09-07 20:24:10 +00:00
<%
client = {} if 'blackhole' == sickbeard.TORRENT_METHOD else get_client_instance(sickbeard.TORRENT_METHOD)().__class__.__dict__
name = '' if not client else get_client_instance(sickbeard.TORRENT_METHOD)().name
%>
#if ( $ hasattr ( $ cur_torrent_provider , ' _seed_ratio ' ) and ' _set_torrent_ratio ' in $ client )
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _ratio">
<span class="component-title" id=" ${ cur_torrent_provider . get_id ( ) } _ratio_desc">Seed until ratio (the goal)</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="number" name=" ${ cur_torrent_provider . get_id ( ) } _ratio" id=" ${ cur_torrent_provider . get_id ( ) } _ratio" value=" $ cur_torrent_provider . _seed_ratio " class="form-control input-sm input75" />
2016-09-07 20:24:10 +00:00
<p>this ratio is requested of each item sent to $ name </p>
<div class="clear-left"><p>( #if ' transmission ' == $ sickbeard . TORRENT_METHOD # set -1 to seed forever, or #end if# leave blank for the $ name setting)</p></div>
2015-09-12 17:06:54 +00:00
</span>
</label>
</div>
#end if
2016-09-07 20:24:10 +00:00
#if ( $ hasattr ( $ cur_torrent_provider , ' seed_time ' ) and ' _set_torrent_seed_time ' in $ client )
#set $ use_default = ' to use the %s min <a href= " %s /config/search/ # core-component-group3">torrent search setting minumum default</a>' % ( $ sickbeard . TORRENT_SEED_TIME , $ sbRoot ) if $ sickbeard . TORRENT_SEED_TIME else 'for the %s setting' % $ name
2015-09-12 17:06:54 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _seed_time">
<span class="component-title" id=" ${ cur_torrent_provider . get_id ( ) } _seed_time_desc">Seed time (provider default)</span>
2015-09-12 17:06:54 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="number" name=" ${ cur_torrent_provider . get_id ( ) } _seed_time" id=" ${ cur_torrent_provider . get_id ( ) } _seed_time" value=" $ cur_torrent_provider . seed_time " class="form-control input-sm input75" />
2016-09-07 20:24:10 +00:00
<p>set 1 or more minimum minutes for each item sent to $ name </p>
2015-09-12 17:06:54 +00:00
<div class="clear-left"><p>(leave blank $ use_default )</p></div>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' minseed ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _minseed">
<span class="component-title" id=" ${ cur_torrent_provider . get_id ( ) } _minseed_desc">Minimum seeders</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="number" name=" ${ cur_torrent_provider . get_id ( ) } _minseed" id=" ${ cur_torrent_provider . get_id ( ) } _minseed" value=" $ cur_torrent_provider . minseed " class="form-control input-sm input75" />
2015-07-13 09:39:20 +00:00
<p>a release must have to be snatch worthy</p>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' minleech ' ) :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _minleech">
<span class="component-title" id=" ${ cur_torrent_provider . get_id ( ) } _minleech_desc">Minimum leechers</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="number" name=" ${ cur_torrent_provider . get_id ( ) } _minleech" id=" ${ cur_torrent_provider . get_id ( ) } _minleech" value=" $ cur_torrent_provider . minleech " class="form-control input-sm input75" />
2015-07-13 09:39:20 +00:00
<p>a release must have to be snatch worthy</p>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
<div class="field-pair">
2018-05-14 02:21:08 +00:00
<span class="component-title"> $ filter_title </span>
<span class="component-desc">
<div style="margin-bottom:10px">
<div style="float:left;max-width:230px">
<label for=" ${ cur_torrent_provider . get_id ( ) } _scene_only">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _scene_only" id=" ${ cur_torrent_provider . get_id ( ) } _scene_only" <%= html_checked if cur_torrent_provider.scene_only else '' %>>
<span> $ filter_scene_only_desc </span>
</label>
<label for=" ${ cur_torrent_provider . get_id ( ) } _scene_or_contain">
$ filter_scene_or_contain_desc <input style="float:right;margin-left:4px;padding:2px 4px;height:24px;width:144px" type="text" name=" ${ cur_torrent_provider . get_id ( ) } _scene_or_contain" placeholder="(opt: start 'regex:')" value="<%= cur_torrent_provider.scene_or_contain %>" class="form-control input-sm input150">
</label>
</div>
<div style="margin-left:230px">
<label class="show-if- ${ cur_torrent_provider . get_id ( ) } _enable_recentsearch" for=" ${ cur_torrent_provider . get_id ( ) } _scene_loose">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _scene_loose" id=" ${ cur_torrent_provider . get_id ( ) } _scene_loose" <%= html_checked if cur_torrent_provider.scene_loose else '' %>>
<span> $ filter_scene_loose_desc </span>
</label>
#if $ cur_torrent_provider . supports_backlog :
<label class="show-if- ${ cur_torrent_provider . get_id ( ) } _enable_backlog" for=" ${ cur_torrent_provider . get_id ( ) } _scene_loose_active">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _scene_loose_active" id=" ${ cur_torrent_provider . get_id ( ) } _scene_loose_active" <%= html_checked if cur_torrent_provider.scene_loose_active else '' %>>
<span> $ filter_scene_loose_active_desc </span>
</label>
#end if
</div>
<div style="clear:both">
<label style="float:left;min-width:230px" for=" ${ cur_torrent_provider . get_id ( ) } _scene_rej_nuked">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _scene_rej_nuked" id=" ${ cur_torrent_provider . get_id ( ) } _scene_rej_nuked" <%= html_checked if cur_torrent_provider.scene_rej_nuked else '' %>>
<span> $ filter_scene_rej_nuked_desc </span>
</label>
#if $ cur_torrent_provider . supports_backlog :
<label class="show-if- ${ cur_torrent_provider . get_id ( ) } _enable_backlog" for=" ${ cur_torrent_provider . get_id ( ) } _scene_nuked_active">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _scene_nuked_active" id=" ${ cur_torrent_provider . get_id ( ) } _scene_nuked_active" <%= html_checked if cur_torrent_provider.scene_nuked_active else '' %>>
<span> $ filter_scene_nuked_active_desc </span>
</label>
#end if
</div>
</div>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' freeleech ' ) :
2018-05-14 02:21:08 +00:00
<div>
<label for=" ${ cur_torrent_provider . get_id ( ) } _freeleech" class="space-right">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _freeleech" id=" ${ cur_torrent_provider . get_id ( ) } _freeleech" <%= html_checked if cur_torrent_provider.freeleech else '' %>/>
<span><b>[FreeLeech]</b> only</span>
</label>
</div>
#end if
#if $ hasattr ( $ cur_torrent_provider , ' confirmed ' ) :
<div>
<label for=" ${ cur_torrent_provider . get_id ( ) } _confirmed">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _confirmed" id=" ${ cur_torrent_provider . get_id ( ) } _confirmed" <%= html_checked if cur_torrent_provider.confirmed else '' %>/>
#set $ confirm_label = callable ( getattr ( cur_torrent_provider , ' ui_string ' , None ) ) and cur_torrent_provider . ui_string ( cur_torrent_provider . get_id ( ) + ' _confirm ' ) or ' site trusted or from verified uploaders '
<span> $ confirm_label </span>
</label>
</div>
2014-11-21 18:40:00 +00:00
#end if
2016-09-30 22:20:28 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' may_filter ' ) :
2018-05-14 02:21:08 +00:00
<div>
2016-09-30 22:20:28 +00:00
#for $ cur_fval , $ filter in $ cur_torrent_provider . may_filter . iteritems ( )
#set $ cur_fname , $ cur_is_default = $ filter [ 0 ] , $ filter [ 1 ]
#set $ filter_id = ' %s _filter_ %s ' % ( $ cur_torrent_provider . get_id ( ) , $ cur_fval )
2018-05-14 02:21:08 +00:00
<label class="space-right">
<input type="checkbox" name=" $ filter_id " id=" $ filter_id " #echo ( ' ' , $ html_checked ) [ $ cur_fval in $ cur_torrent_provider . filter ] # />
<span> $ cur_fname </span>
</label>
2016-09-30 22:20:28 +00:00
#end for
2018-05-14 02:21:08 +00:00
<span>(see $ cur_torrent_provider . name )</span>
</div>
2016-09-30 22:20:28 +00:00
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' reject_m2ts ' ) :
2018-05-14 02:21:08 +00:00
<div>
<label for=" ${ cur_torrent_provider . get_id ( ) } _reject_m2ts">
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _reject_m2ts" id=" ${ cur_torrent_provider . get_id ( ) } _reject_m2ts" <%= html_checked if cur_torrent_provider.reject_m2ts else '' %>/>
<span>not Blu-ray M2TS (MPEG-2 Transport Stream) container releases</span>
</label>
</div>
2015-09-18 00:06:34 +00:00
#end if
2018-05-14 02:21:08 +00:00
<p style="clear:both"> $ filter_tip </p>
</span>
</div>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' search_mode ' ) and $ cur_torrent_provider . supports_backlog :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<span class="component-title">Episode search mode</span>
2015-07-13 09:39:20 +00:00
<span class="component-desc">
<label class="space-right">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="radio" name=" ${ cur_torrent_provider . get_id ( ) } _search_mode" id=" ${ cur_torrent_provider . get_id ( ) } _search_mode_eponly" value="eponly" <%= html_checked if 'eponly' == cur_torrent_provider.search_mode else '' %>/>episodes only (normal use)
2015-07-13 09:39:20 +00:00
</label>
<label>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="radio" name=" ${ cur_torrent_provider . get_id ( ) } _search_mode" id=" ${ cur_torrent_provider . get_id ( ) } _search_mode_sponly" value="sponly" <%= html_checked if 'sponly' == cur_torrent_provider.search_mode else '' %>/>season packs only
2015-07-13 09:39:20 +00:00
</label>
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<p>when searching for episodes, collect single episodes or search for packs</p>
2015-07-13 09:39:20 +00:00
</span>
2014-11-21 18:40:00 +00:00
</div>
#end if
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
#if $ hasattr ( $ cur_torrent_provider , ' search_fallback ' ) and $ cur_torrent_provider . supports_backlog :
2014-11-21 18:40:00 +00:00
<div class="field-pair">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<label for=" ${ cur_torrent_provider . get_id ( ) } _search_fallback">
<span class="component-title">Episode search fallback</span>
2014-11-21 18:40:00 +00:00
<span class="component-desc">
Change validate and improve specific Torrent provider connections, IPT, KAT, SCC, TPB, TB, TD, TT.
Change refactor cache for torrent providers to reduce code.
Change improve search category selection BMTV, FSH, FF, TB.
Change identify more SD release qualities.
Change update SpeedCD, MoreThan, TVChaosuk.
Add torrent provider HD4Free.
Remove torrent provider BitSoup.
Change only create threads for providers needing a recent search instead of for all enabled.
Add 4489 as experimental value to "Recent search frequency" to use provider freqs instead of fixed width for all.
Fix searching nzb season packs.
Change remove some logging cruft.
2016-03-24 18:24:14 +00:00
<input type="checkbox" name=" ${ cur_torrent_provider . get_id ( ) } _search_fallback" id=" ${ cur_torrent_provider . get_id ( ) } _search_fallback" <%= html_checked if cur_torrent_provider.search_fallback else '' %>/>
2017-08-24 11:36:23 +00:00
<p>use alternate episode search mode if no match is found -- warning; may result in duplicates or a heavy ratio hit -- best use: manually collect a season, disable after</p>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
#end if
2016-09-25 23:46:36 +00:00
#if not $ cur_torrent_provider . supports_backlog :
<div class="field-pair">
<span class="component-desc">The latest releases are the focus of this provider, no backlog searching</span>
</div>
#end if
2014-11-21 18:40:00 +00:00
</div>
#end for
<!-- end div for editing providers -->
#if $ provider_config_list
<input type="submit" class="btn config_submitter" value="Save Changes" /><br/>
#end if
</fieldset>
</div><!-- /component-group2 //-->
#if $ sickbeard . USE_NZBS
<div id="core-component-group3" class="component-group">
<div class="component-group-desc">
2017-01-02 18:44:35 +00:00
<h3>Custom Newznab</h3>
<p>Add, setup or remove newznab providers.</p>
2014-11-21 18:40:00 +00:00
</div>
<fieldset class="component-group-list">
<div class="field-pair">
<label for="newznab_string">
<span class="component-title">Select provider:</span>
<span class="component-desc">
<input type="hidden" name="newznab_string" id="newznab_string" />
<select id="editANewznabProvider" class="form-control input-sm">
<option value="addNewznab">-- add new provider --</option>
</select>
</span>
</label>
</div>
<div class="newznabProviderDiv" id="addNewznab">
<div class="field-pair">
<label for="newznab_name">
<span class="component-title">Provider name</span>
<span class="component-desc">
<input type="text" id="newznab_name" class="form-control input-sm input200" />
</span>
</label>
</div>
<div class="field-pair">
<label for="newznab_url">
<span class="component-title">Site URL</span>
<span class="component-desc">
<input type="text" id="newznab_url" class="form-control input-sm input350" />
</span>
</label>
</div>
<div class="field-pair">
<label for="newznab_key">
<span class="component-title">API key</span>
<span class="component-desc">
<input type="text" id="newznab_key" class="form-control input-sm input350" />
</span>
<span class="component-desc">
<div class="clear-left"><p>note: enter 0 (zero) if not required</p></div>
</span>
</label>
</div>
<div class="field-pair">
<label>
2016-09-04 20:00:44 +00:00
<span class="component-title">Extra categories to search
<span style="font-weight:normal">with.. (u)hd, sd, sport, anime</span>
</span>
<span class="component-desc">
2016-12-20 16:30:59 +00:00
<div id="nn-cats" class="hide">
2016-09-04 20:00:44 +00:00
<div class="pull-left">
<select class="pull-left" id="newznab_cap" multiple="multiple" style="min-width:10em;min-height:72px"></select>
<input class="btn" type="button" class="newznab_cat_update" id="newznab_cat_update" value=">>" style="position:relative;bottom:-15px">
</div>
<select id="newznab_cat" multiple="multiple" style="min-width:7em;min-height:72px"></select>
<div class="clear-left">
<p>multi-select newznab categories on the left<br />
then click ">>" and finally "Save Changes"</p>
</div>
</div>
<div id="nn-nocats" class="hide">
<span>No extra categories found</span>
</div>
2016-12-20 16:30:59 +00:00
<div id="nn-enable-for-cats" class="hide">
<span class="grey-text">Enable provider for categories</span>
</div>
2016-09-04 20:00:44 +00:00
<div id="nn-loadcats" class="hide">
2016-12-20 16:30:59 +00:00
<span class="grey-text">Loading categories...</span>
2014-11-21 18:40:00 +00:00
</div>
</span>
</label>
</div>
<div id="newznab_add_div">
<input class="btn" type="button" class="newznab_save" id="newznab_add" value="Add" />
</div>
<div id="newznab_update_div" style="display: none;">
<input class="btn btn-danger newznab_delete" type="button" class="newznab_delete" id="newznab_delete" value="Delete" />
</div>
</div>
</fieldset>
</div><!-- /component-group3 //-->
#end if
#if $ sickbeard . USE_TORRENTS
<div id="core-component-group4" class="component-group">
<div class="component-group-desc">
2017-01-02 18:44:35 +00:00
<h3>Custom Torrent</h3>
<p>Add, setup or remove torrent RSS providers.</p>
2014-11-21 18:40:00 +00:00
</div>
<fieldset class="component-group-list">
<div class="field-pair">
<label for="torrentrss_string">
<span class="component-title">Select provider</span>
<span class="component-desc">
<input type="hidden" name="torrentrss_string" id="torrentrss_string" />
<select id="editATorrentRssProvider" class="form-control input-sm">
<option value="addTorrentRss">-- add new provider --</option>
</select>
</span>
</label>
</div>
<div class="torrentRssProviderDiv" id="addTorrentRss">
<div class="field-pair">
<label for="torrentrss_name">
<span class="component-title">Provider name</span>
<span class="component-desc">
<input type="text" id="torrentrss_name" class="form-control input-sm input200" />
</span>
</label>
</div>
<div class="field-pair">
<label for="torrentrss_url">
<span class="component-title">RSS URL</span>
<span class="component-desc">
<input type="text" id="torrentrss_url" class="form-control input-sm input350" />
</span>
</label>
</div>
<div class="field-pair">
<label for="torrentrss_cookies">
<span class="component-title">Cookies:</span>
<span class="component-desc">
<input type="text" id="torrentrss_cookies" class="form-control input-sm input350" />
<p>eg. uid=xx;pass=yy</p>
2016-09-25 23:46:36 +00:00
<div class="clear-left"><p>enter [ <span class="grey-text">sg=0</span> ] if not required (a URL containing a key may not need cookies)</p></div>
2014-11-21 18:40:00 +00:00
</span>
</label>
</div>
<div id="torrentrss_add_div">
<input type="button" class="btn torrentrss_save" id="torrentrss_add" value="Add" />
</div>
<div id="torrentrss_update_div" style="display: none;">
<input type="button" class="btn btn-danger torrentrss_delete" id="torrentrss_delete" value="Delete" />
</div>
</div>
</fieldset>
</div><!-- /component-group4 //-->
#end if
<br/><input type="submit" class="btn config_submitter" value="Save Changes" /><br/>
</div><!-- /config-components //-->
</form>
</div>
2014-10-21 19:09:01 +00:00
</div>
2014-03-10 05:18:05 +00:00
<script type="text/javascript" charset="utf-8">
<!--
jQuery(' #config - components ' ).tabs();
//-->
</script>
2015-05-07 00:36:40 +00:00
2015-09-18 00:06:34 +00:00
#include $ os . path . join ( $ sickbeard . PROG_DIR , ' gui/slick/interfaces/default/inc_bottom.tmpl ' )