hi all. this may be a bit moot. and sorry for the old thread posting.
but i ran into this just now. I had the exact same issue. i'm trying to run 'tvnamer' in this manner: $1 will be a tv show I have.
- Code: Select all
/usr/local/bin/tvnamer -v -c /Volumes/Drobo/scripts/tvnamer/tvnamer.json $1 >> /Volumes/Drobo/logs/tvnamer.`date +%Y-%m-%d`.log 2>&1
I then look at my tvnamer log and I see this:
- Code: Select all
Invalid path: -
Invalid path: -
Invalid path: /Volumes/Drobo/torrents/TV/TVUnsorted/New
Invalid path: Girl
Invalid path: Kryptonite.avi
Invalid path: [01x02]
Usage: tvnamer [options] <files>
tvnamer: error: No valid files were supplied
Loading config: /Volumes/Drobo/scripts/tvnamer/tvnamer.json
####################
# Starting tvnamer
if i type that into my terminal, it works. it seems to not be recognizing the dash parameters passed into 'tvnamer'?? or maybe i'm doing this wrong. I have the 'shell' input set to
/bin/bash.