mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 08:53:37 +00:00
Fixes SR setting SeedIdleLimit no matter what
This commit is contained in:
parent
fe71731da6
commit
78806a2223
2 changed files with 2 additions and 2 deletions
2
gui/slick/interfaces/default/config_search.tmpl
Normal file → Executable file
2
gui/slick/interfaces/default/config_search.tmpl
Normal file → Executable file
|
@ -558,7 +558,7 @@
|
||||||
<label class="nocheck clearfix">
|
<label class="nocheck clearfix">
|
||||||
<span class="component-title"> </span>
|
<span class="component-title"> </span>
|
||||||
<span class="component-desc">Duration (in hours) to seed for<br>
|
<span class="component-desc">Duration (in hours) to seed for<br>
|
||||||
(SickRage default '0' passes blank to downloader)</span>
|
(SickRage default '0' passes blank to downloader; '-1' does not set Seed Time)</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
2
sickbeard/clients/transmission.py
Normal file → Executable file
2
sickbeard/clients/transmission.py
Normal file → Executable file
|
@ -107,7 +107,7 @@ class TransmissionAPI(GenericClient):
|
||||||
|
|
||||||
def _set_torrent_seed_time(self, result):
|
def _set_torrent_seed_time(self, result):
|
||||||
|
|
||||||
if sickbeard.TORRENT_SEED_TIME:
|
if sickbeard.TORRENT_SEED_TIME and sickbeard.TORRENT_SEED_TIME != -1:
|
||||||
time = int(60 * float(sickbeard.TORRENT_SEED_TIME))
|
time = int(60 * float(sickbeard.TORRENT_SEED_TIME))
|
||||||
arguments = {'ids': [result.hash],
|
arguments = {'ids': [result.hash],
|
||||||
'seedIdleLimit': time,
|
'seedIdleLimit': time,
|
||||||
|
|
Loading…
Reference in a new issue