mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
always pasue torrents before processing. fixes #234
This commit is contained in:
parent
98786b9bbe
commit
fa84be4a2e
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue