Fixed issue with manual runs.

Watch directory option now gets it's subsection name appened to it and is considered as a INPUTDIRECTORY, works for both nzb and torrent manual runs.

Linking now skips if source and target folders/files are located in the same place or the file already exists in the target folder.
This commit is contained in:
echel0n 2014-04-26 16:22:41 -07:00
commit 0e985f9181
3 changed files with 21 additions and 17 deletions

View file

@ -485,7 +485,7 @@ def main(args, section=None):
except:
download_id = None
if clientAgent.lower() not in (nzbtomedia.NZB_CLIENTS or ['manual']):
if clientAgent.lower() not in nzbtomedia.NZB_CLIENTS and clientAgent != 'manual':
continue
results = process(dirName, os.path.basename(dirName), 0, clientAgent=clientAgent,