From d6ba16355be3a10767a64c259410d127c2a8a118 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Fri, 14 Feb 2014 15:25:41 +1030 Subject: [PATCH] use output destination fro DN if runOnce. #262 --- TorrentToMedia.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index ef3f7642..62b8fb9e 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -363,7 +363,10 @@ def external_script(outputDestination): command.append(filePath) continue elif param == "DN": - command.append(dirpath) + if user_script_runOnce == 1: + command.append(outputDestination) + else: + command.append(dirpath) continue else: command.append(param)