PDA

View Full Version : Organizing TV Episodes


thelaughingman
2008-04-20, 01:56
Hey all,
Not OSX specific, but in an effort to give back to the community I wrote a script to organize TV episodes after you've finished encoding or downloading them. It creates the necessary directory structure and moves files so that the scrapers can see them.

Hopefully, some others will find this useful. You can probably use it with Transmission and Hazel some how so that finished transfers are automatically organized.

The script is available here (http://multipleentendre.com/move-episode-script/).

xstealx
2008-04-21, 23:42
Looks great! Now I only have to figure out how to use this with Azureus and Hazel since this is not a shellscript is it?

thelaughingman
2008-04-22, 00:00
You're right xstealx, Hazel can't use it directly, but you can create a shell script with this code:#!/bin/bash
for f in "$@"
do
python mvep.py "$f"
done

Hazel should be able to run that directly and it will call the python script for you.

krux
2008-04-23, 00:15
would it also work with sabnzbd? :eek:

thelaughingman
2008-04-23, 00:31
would it also work with sabnzbd? :eek:

No clue, I've never used that.

phunkysai
2008-04-23, 18:25
In theory it should work with sabnzbd, although I've never tried it. Here is the article about it on their sourceforge page:

https://sabnzbdplus.wiki.sourceforge.net/External+Script