diff --git a/TorrentToMedia.py b/TorrentToMedia.py index a1412b90..ed2d53ad 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -82,7 +82,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID): sys.exit() # Hardlink solution for uTorrent, need to implent support for deluge, transmission - if clientAgent in ['utorrent', 'transmission'] and inputHash and useLink != "no": + if clientAgent in ['utorrent', 'transmission'] and inputHash: if clientAgent == 'utorrent': try: Logger.debug("MAIN: Connecting to %s: %s", clientAgent, uTorrentWEBui) @@ -263,7 +263,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID): continue # Hardlink solution for uTorrent, need to implent support for deluge, transmission - if clientAgent in ['utorrent', 'transmission'] and inputHash and useLink != "no": + if clientAgent in ['utorrent', 'transmission'] and inputHash: # Delete torrent and torrentdata from Torrent client if processing was successful. if deleteOriginal == 1 and result != 1: Logger.debug("MAIN: Deleting torrent %s from %s", inputName, clientAgent) diff --git a/changelog.txt b/changelog.txt index 9cd6cf1c..6110721d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Impacts NZBs SABnzbd 0.7.17+ now uses 8 arguments, not 7. These scripts now support the extra argument. Impacts Torrents +Always pause before processing. Moved delete to end of routine, only when succesful process occurs. Don't flatten hp category (in case multi cd album) Added UserScript to be called for un-categorized downloads and other defined categories.