From b1a0ef609d3387b05cdcafcaa682f241f795a859 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Mon, 16 Sep 2013 23:08:14 +0930 Subject: [PATCH] Extra clientAgent to resume. Fix #178 Missed this one earlier. --- TorrentToMedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 82bde3d3..0e3332be 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -209,7 +209,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID): Logger.info("MAIN: A problem was reported in the autoProcess* script. If torrent was pasued we will resume seeding") # Hardlink solution for uTorrent, need to implent support for deluge, transmission - if clientAgent == 'utorrent' and extractionSuccess == False and inputHash and useLink != "no" and deleteOriginal == 0: # we always want to resume seeding, for now manually find out what is wrong when extraction fails + if clientAgent in ['utorrent', 'transmission'] and extractionSuccess == False and inputHash and useLink != "no" and deleteOriginal == 0: # we always want to resume seeding, for now manually find out what is wrong when extraction fails Logger.debug("MAIN: Starting torrent %s in %s", inputName, clientAgent) if clientAgent == 'utorrent': utorrentClass.start(inputHash)