INSTALLATION
Prerequisites:
The RUTV program is a command line script written in PHP, so you must have a version of PHP 5.x.x somewhere in your path for it to run. In addition you must have the following PHP libraries installed: PDO (with sqlite support), CURL, XMLRPC and DOM. The rutv script will check for these when it runs, so if you are missing any of them it will complain and exit. Beyond this you will also need to have a paid newzbin.com account, a myepisodes.com account and hellanzb setup and running correctly.
Installation:
Copy the rutv file to whatever location you want to run it from. Then create a ".rutv" directory in the home directory of whatever user is going to run the script. Copy the config.php-dist file to ".rutv/config.php" and open it in an editor.
Configuration:
Go through the ".rutv/config.php" file and start adding your information. There are comments above every configuration option to guide you through it. The only section that is tricky is the newzBinFeedURL, to get that you will need to login to your newzbin.com and go to v3.newzbin.com, from there open up the TV category. On the left hand sidebar you should see "Results per page", go ahead and set that to 200 and click "Apply". When the page finishes loading go back to the left hand bar and copy the link location of the "RSS" orange icon.
Getting Started:
After everything is configured, run rutv for the first time and add the "-d" flag to the command line so it will give out some more debugging information. After you run it the first time, you will probably be sadly disappointed because none of your shows downloaded. RUTV works by fetching the latest listings saving that list, later on it matches the whole list it has saved away against the listings it previously downloaded. So in order for things to really get rolling, it has to take a while to build up it's list of what is available. However, if you are impatient (I am, which is why I built this feature in) you have an option to prime the pump. RUTV can add search results to it's list of available items just by passing in the RSS feed (the orange RSS icon on the left hand sidebar displaying your search results) URL to RUTV using the "-u" option. To get things really started fast, I would recommend running a search on each series you want to download, it should get those downloads up and running in no time.
Final Steps:
After a few things have downloaded, run RUTV again with the "-dm" switches to make sure it is finding the files you have downloaded and marking them as acquired with "myepisodes.com". When that is complete and everything is running fine setup a scheduled task (cronjob) in your operating system to run it every half hour to an hour. It should take care of itself from there. Should you ever download a copy of an episode that doesn't work for you (missing parts, bad encoding), just mark it as "acquired" run RUTV once, and then undo that "acquired" marking, this will tell RUTV that you still need that episode but it will automatically avoid the newzbin ID, so it will try and find a different copy of that episode.
If you have any problems/questions just spam me at:
therawbaggard@gmail.com