mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Added print out for manual run.
This commit is contained in:
parent
c08b713ecb
commit
a749a6531d
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ def processEpisode(dirName, nzbName=None, failed=False):
|
|||
except (ConfigParser.NoOptionError, ValueError):
|
||||
failed_fork = 0
|
||||
|
||||
#allows manual call of postprocess script if we have specified a watch_dir. Check that here.
|
||||
if nzbName = "Manual Run" and watch_dir == ""
|
||||
print "ERROR: In order to run this script manually you must specify a watch_dir in autoProcessTV.cfg"
|
||||
sys.exit(-1)
|
||||
#allows us to specify the default watch directory and call the postproecssing on another PC with different directory structure.
|
||||
if watch_dir != "":
|
||||
dirName = watch_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue