mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 03:22:22 -05:00
Update utorrent.py
Adds high priority mode for recently aired show to utorrent using already existing tickbox under "search options\episode search".
This commit is contained in:
parent
dafff0281e
commit
6c84fed536
@ -64,6 +64,12 @@ class uTorrentAPI(GenericClient):
|
||||
}
|
||||
return self._request(params=params)
|
||||
|
||||
def _set_torrent_priority(self, result):
|
||||
|
||||
if result.priority == 1:
|
||||
params = {'action': 'queuetop', 'hash': result.hash}
|
||||
return self._request(params=params)
|
||||
|
||||
def _set_torrent_pause(self, result):
|
||||
|
||||
if sickbeard.TORRENT_PAUSED:
|
||||
|
Loading…
Reference in New Issue
Block a user