mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
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:
parent
b9f15a918e
commit
0e985f9181
3 changed files with 21 additions and 17 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue