Would it be possible to change the Failure response when no files are processed? This is different from when files are processed but there is a legitimate error:
Run script [fn:amc] at [Sun Dec 20 06:00:03 EST 2015]
Parameter: clean = y
Parameter: music = n
Parameter: excludeList = amcexcl.txt
Parameter: plex =
Parameter: reportError = y
Parameter: gmail =
Argument: E:\Torrents\Complete
Using excludes: E:\Media\amcexcl.txt (649)
No files selected for processing
Failure (°_°)
I want to be able to parse the output and send an email that no files were processed. If you could also add an option to send an email when no files are processed that would save me from parsing.
Thanks,
Steve
[Feature Request] Non-Failure Message
Re: [Feature Request] Non-Failure Message
No, because people rely on the exit code behavior, 0 ... it did something, 1 ... it didn't do anything. So if you need something specific, you can always "parse" the output, which is super simple if you just wanna check if a certain line occurs or not.
e.g.
e.g.
Code: Select all
`filebot amc ... | grep "No files selected for processing" | wc -l`
Please read the FAQ and How to Request Help.