mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -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">
|
||||
<span class="component-title"> </span>
|
||||
<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>
|
||||
</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):
|
||||
|
||||
if sickbeard.TORRENT_SEED_TIME:
|
||||
if sickbeard.TORRENT_SEED_TIME and sickbeard.TORRENT_SEED_TIME != -1:
|
||||
time = int(60 * float(sickbeard.TORRENT_SEED_TIME))
|
||||
arguments = {'ids': [result.hash],
|
||||
'seedIdleLimit': time,
|
||||
|
Loading…
Reference in New Issue
Block a user