tvnamer script help needed

Come up with a useful post-processing script? Share it here!
Post Reply
.maxx
Release Testers
Release Testers
Posts: 70
Joined: April 10th, 2008, 6:32 am

tvnamer script help needed

Post 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.
Post Reply