mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-23 01:43:43 +00:00
Fix for complete season snatches.
Removed multi-threading option from general config
This commit is contained in:
parent
f7ded2a4ed
commit
448a45cf40
3 changed files with 3 additions and 15 deletions
|
@ -324,16 +324,6 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</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" />
|
<input type="submit" class="btn config_submitter" value="Save Changes" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div><!-- /component-group4 //-->
|
</div><!-- /component-group4 //-->
|
||||||
|
|
|
@ -441,7 +441,8 @@ def searchProviders(queueItem, show, season, episodes, curProvider, seasonSearch
|
||||||
for curEpNum in allEps:
|
for curEpNum in allEps:
|
||||||
epObjs.append(show.getEpisode(season, curEpNum))
|
epObjs.append(show.getEpisode(season, curEpNum))
|
||||||
bestSeasonNZB.episodes = epObjs
|
bestSeasonNZB.episodes = epObjs
|
||||||
return [bestSeasonNZB]
|
queueItem.results = bestSeasonNZB
|
||||||
|
return queueItem
|
||||||
|
|
||||||
elif not anyWanted:
|
elif not anyWanted:
|
||||||
logger.log(
|
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,
|
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,
|
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,
|
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,
|
anon_redirect=None, git_path=None, calendar_unprotected=None, date_preset=None, time_preset=None, indexer_default=None,):
|
||||||
num_of_threads=None):
|
|
||||||
|
|
||||||
results = []
|
results = []
|
||||||
|
|
||||||
|
@ -1027,8 +1026,6 @@ class ConfigGeneral:
|
||||||
|
|
||||||
sickbeard.HANDLE_REVERSE_PROXY = config.checkbox_to_value(handle_reverse_proxy)
|
sickbeard.HANDLE_REVERSE_PROXY = config.checkbox_to_value(handle_reverse_proxy)
|
||||||
|
|
||||||
sickbeard.NUM_OF_THREADS = config.to_int(num_of_threads)
|
|
||||||
|
|
||||||
sickbeard.save_config()
|
sickbeard.save_config()
|
||||||
|
|
||||||
if len(results) > 0:
|
if len(results) > 0:
|
||||||
|
|
Loading…
Reference in a new issue