Page 1 of 1

tvnamer script help needed

Posted: July 10th, 2012, 9:09 am
by .maxx
Hi guys,

I need your help.
I'm a scripting noob, read the script wiki, the script how-to, searched the forum, googled but can't help myself.

I'm using OSX and Hazel (automation tool) to run the tvnamer python/shell app to rename my downloaded tv shows.
Now I want sabnzbd to run tvnamer. How can I do that?

Hazel runs this script like that as a shell script:

Code: Select all

/usr/local/bin/tvnamer --config=/Users/Documents/Configs/mytvnamerconfig.json "$1"
In the osx terminal I can launch it like that:

Code: Select all

tvnamer --config=/Users/Documents/Configs/mytvnamerconfig.json
Please, please make me an OSX script that do this above on the downloaded file.