1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixes SR setting SeedIdleLimit no matter what

This commit is contained in:
Justin Nielsen 2014-10-07 13:39:11 -07:00
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
View File

@ -558,7 +558,7 @@
<label class="nocheck clearfix">
<span class="component-title">&nbsp;</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
View 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,