mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Merge branch 'pulls/72'
This commit is contained in:
commit
10babc4d34
1 changed files with 7 additions and 1 deletions
|
@ -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 a new issue