mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 03:22:22 -05:00
Merge pull request #853 from nielsenj/fixSeedIdleTime
Fixes SR setting SeedIdleLimit no matter what
This commit is contained in:
commit
e4fad0b6b0
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 New Issue
Block a user