mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for complete season snatches.
Removed multi-threading option from general config
This commit is contained in:
parent
f7ded2a4ed
commit
448a45cf40
@ -324,16 +324,6 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="field-pair">
|
||||
<label class="nocheck clearfix">
|
||||
<span class="component-title">Multi-Threading</span>
|
||||
<input type="text" name="num_of_threads" id="num_of_threads" value="$sickbeard.NUM_OF_THREADS" size="5" />
|
||||
</label>
|
||||
<label class="nocheck clearfix">
|
||||
<span class="component-title"> </span>
|
||||
<span class="component-desc">Number of threads to assign, the more threads the faster SickRage goes if your hardware can handle it! (eg. 1)</span>
|
||||
</label>
|
||||
</div>
|
||||
<input type="submit" class="btn config_submitter" value="Save Changes" />
|
||||
</fieldset>
|
||||
</div><!-- /component-group4 //-->
|
||||
|
@ -441,7 +441,8 @@ def searchProviders(queueItem, show, season, episodes, curProvider, seasonSearch
|
||||
for curEpNum in allEps:
|
||||
epObjs.append(show.getEpisode(season, curEpNum))
|
||||
bestSeasonNZB.episodes = epObjs
|
||||
return [bestSeasonNZB]
|
||||
queueItem.results = bestSeasonNZB
|
||||
return queueItem
|
||||
|
||||
elif not anyWanted:
|
||||
logger.log(
|
||||
|
@ -971,8 +971,7 @@ class ConfigGeneral:
|
||||
update_shows_on_start=None, update_frequency=None, launch_browser=None, web_username=None, use_api=None, api_key=None,
|
||||
web_password=None, version_notify=None, enable_https=None, https_cert=None, https_key=None,
|
||||
handle_reverse_proxy=None, sort_article=None, auto_update=None, proxy_setting=None,
|
||||
anon_redirect=None, git_path=None, calendar_unprotected=None, date_preset=None, time_preset=None, indexer_default=None,
|
||||
num_of_threads=None):
|
||||
anon_redirect=None, git_path=None, calendar_unprotected=None, date_preset=None, time_preset=None, indexer_default=None,):
|
||||
|
||||
results = []
|
||||
|
||||
@ -1027,8 +1026,6 @@ class ConfigGeneral:
|
||||
|
||||
sickbeard.HANDLE_REVERSE_PROXY = config.checkbox_to_value(handle_reverse_proxy)
|
||||
|
||||
sickbeard.NUM_OF_THREADS = config.to_int(num_of_threads)
|
||||
|
||||
sickbeard.save_config()
|
||||
|
||||
if len(results) > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user