1
0
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:
adam111316 2014-10-08 15:50:01 +08:00
commit e4fad0b6b0
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,