Fix for complete season snatches.

Removed multi-threading option from general config
This commit is contained in:
echel0n 2014-05-11 07:40:24 -07:00
parent f7ded2a4ed
commit 448a45cf40
3 changed files with 3 additions and 15 deletions

View File

@ -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">&nbsp;</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 //-->

View File

@ -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(

View File

@ -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: