mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
parent
4daaf6263f
commit
c77ce99ed7
3 changed files with 6 additions and 1 deletions
|
@ -753,6 +753,8 @@ def pause_torrent(clientAgent, inputHash, inputID, inputName):
|
|||
logger.warning("Failed to stop torrent %s in %s" % (inputName, clientAgent))
|
||||
|
||||
def resume_torrent(clientAgent, inputHash, inputID, inputName):
|
||||
if not core.TORRENT_RESUME == 1:
|
||||
return
|
||||
logger.debug("Starting torrent %s in %s" % (inputName, clientAgent))
|
||||
try:
|
||||
if clientAgent == 'utorrent' and core.TORRENT_CLASS != "":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue