How this works! OVERVIEW ======== This is a Perl script that will grab the Mininova RSS feed for the last 100 added TV shows however often you set it up in Cron. It will then parse that RSS feed against the regular expressions it finds in the shows file in order to find shows you want. It will then download the relevant torrent into a torrents directory, and then copy it to another directory (to avoid downloading a torrent multiple times) where Azureus will be configured to automatically read from and pick up torrents. HOW TO USE ========== We will assume we are using /data/torrents. Feel free to change this to whatever you like. - Create /data/torrents - Create /data/torrents/get - Place gettorrents.pl in /data/torrents/get - Create a file called shows shows file ========== Put regular expressions from Mininova in the shows file. For example: Battlestar Galactica S02E[0-9][0-9] WS DSR XviD.*eztv Desperate Housewives S02E[0-9][0-9] HDTV XviD.*eztv Law And Order S16E[0-9][0-9] HDTV XviD\-LOL.*eztv Law And Order SVU S07E[0-9][0-9] HDTV XviD\-LOL.*eztv Law And Order CI S05E[0-9][0-9] HDTV XviD\-LOL.*eztv Lost S02E[0-9][0-9] HDTV XviD\-LOL.*eztv NCIS S03E[0-9][0-9] HDTV XviD\-LOL.*eztv Prison Break S01E[0-9][0-9] HDTV XviD\-LOL.*eztv Numb3rs S02E[0-9][0-9] HDTV XviD\-LOL.*eztv The more precise the better! They don't get everything if filenames change slightly, so you'll need to keep on top of it, too. azureus ======= Configure Azureus to pick up torrents from the /data/shows/get directory as often as you like. They'll automatically get picked up and start downloading if that's how you've configured it. AUTO-MOVING SCRIPT ================== I have set up my Azureus so that it downloads shows and puts them in an Incoming directory. Once downloads are complete, they move to a "complete" directory. Install this script in your "complete" directory and set it to cron as often as you like, and it will move your relevant TV shows to their appropriate directories as soon as they've finished downloading. The script just does this: #!/bin/sh cd /directory/to/completed/torrents mv -v ?esperate* /tvshows/Desperate\ Housewives mv -v ?octor* /tvshows/Doctor\ Who mv -v ?ost* /tvshows/Lost