diff --git a/gui/slick/interfaces/default/config_providers.tmpl b/gui/slick/interfaces/default/config_providers.tmpl index a24b717e..3a7d65df 100644 --- a/gui/slick/interfaces/default/config_providers.tmpl +++ b/gui/slick/interfaces/default/config_providers.tmpl @@ -115,8 +115,8 @@ var show_nzb_providers = #if $sickbeard.USE_NZBS then "true" else "false"#; Configure Provider: #set $provider_config_list = [] - #for $cur_provider in ("thepiratebay", "tvtorrents", "btn", "torrentleech", "iptorrents", "omgwtfnzbs", "kickasstorrents", "sceneaccess", "hdbits", "nextgen", "speedcd"): - #set $cur_provider_obj = $sickbeard.providers.getProviderClass($cur_provider) + #for $curProvider in $sickbeard.providers.sortedProviderList(): + #set $cur_provider_obj = $sickbeard.providers.getProviderClass($curProvider.getID()) #if $cur_provider_obj.providerType == $GenericProvider.NZB and not $sickbeard.USE_NZBS: #continue #elif $cur_provider_obj.providerType == $GenericProvider.TORRENT and not $sickbeard.USE_TORRENTS: @@ -140,8 +140,9 @@ var show_nzb_providers = #if $sickbeard.USE_NZBS then "true" else "false"#; -#for $curNewznabProvider in [$curProvider for $curProvider in $sickbeard.newznabProviderList if $curProvider.default and $curProvider.needs_auth]: +#for $curNewznabProvider in [$curProvider for $curProvider in $sickbeard.newznabProviderList]:
+ #if $curProvider.default and $curProvider.needs_auth
+ #end if + + #if $hasattr($curNewznabProvider, 'search_fallback'): +
+ + +
+ #end if + + #if $hasattr($curNewznabProvider, 'search_mode'): +
+ + +
+ #end if
#end for @@ -172,304 +201,171 @@ var show_nzb_providers = #if $sickbeard.USE_NZBS then "true" else "false"#; -
+#for $curTorrentProvider in [$curProvider for $curProvider in $sickbeard.providers.sortedProviderList() if $curProvider.providerType == $GenericProvider.TORRENT]: +
+ #if $hasattr($curTorrentProvider, 'api_key'):
-
+ #end if -
+ #if $hasattr($curTorrentProvider, 'digest'):
+ #end if + + #if $hasattr($curTorrentProvider, 'hash'):
+ #end if -
-