From e86a3caae00c6d0bc5237f1cb38af0ef237dbd5b Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Fri, 21 Feb 2014 19:16:22 +1030 Subject: [PATCH] only pass watch_dir when manual or remote system. fixes #255 --- autoProcess/autoProcessTV.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcess/autoProcessTV.py b/autoProcess/autoProcessTV.py index ffc83833..eb79fd21 100644 --- a/autoProcess/autoProcessTV.py +++ b/autoProcess/autoProcessTV.py @@ -154,7 +154,7 @@ def processEpisode(dirName, nzbName=None, failed=False, clientAgent=None, inputC status = int(1) failed = True - if watch_dir != "": + if watch_dir != "" and (not host in ['localhost', '127.0.0.1'] or nzbName == "Manual Run"): dirName = watch_dir params = {}