public
Description: Your friendly neighborhood nzb downloader
Homepage:
Clone URL: git://github.com/maddox/pyrot.git
Click here to lend your support to: pyrot and make a donation at www.pledgie.com !
pyrot /
README
###### PYROT! #######

Here lies Pyrot. 

THE STRATEGY

Here's the whole point of Pyrot. It is a type of newzbin browser for media. You find what you want and start the 
download.
Once complete, Pyrot will unrar or unpar (repair) for you. It also has post scripts that are run once everything is 
complete
The idea is that Pyrot handles everything for you. So the post scripts move your content to where their supposed to go, 
it uses 
IMDB to determine the movie's genre and puts it in that folder under your movies folder (it will create it if its not 
there). It 
will file away your tv shows as well, so it will move your episode to /Full Seasons/Lost/Season 1/4x04.mkv

Thats all the detail for now. If you can't figure it out for now, you're on you're own :) This isn't for mass 
distribution, and never 
will be. Feel free to fork it and help out though! If you ARE using this, please shoot me an email and let me know, 
since you'll be 
accessing my newzbin REST service. So I'd like to know if lots of people are using it, I might have to move it somewhere 
else.


REQUIREMENTS

You have to have a newzbin account
You have to have a usenet account

Dependencies:
mysql

Gems:
ruby-growl
Rails 2.0.2

binaries:
  unrar
  par

Ruby Gems
  ? I can't remember for now


SETUP

git clone git://github.com/maddox/pyrot.git

mkdir log # make the log directory
COPY config/database.sample.yml to config/database.yml and edit it (DON'T RENAME)
Create your database

rake db:migrate to load the database

COPY config/pyrot.sample.yml to config/pyrot.yml and edit it (DON'T RENAME) (Explanation of configuration below)


START

# RAILS_ENV=production rake pyrot:start
# RAILS_ENV=production script/server

The first command starts the pyrot daemon and the second starts the full server


pryot.yml explanation:

thread_count: the number of connections pyrot will use to download at a time
bandwidth_limit: limit the bandwidth that pyrot uses (in KB), 0 means no limit
skip_pars: skips the par files when downloading. If the download needs to be repaired, it will THEN download them. Saves 
bandwidth
store_by_group: organizes downloads by the newsgroup. Don't bother using this

pyrot: this is the username and password that you will use to log into the application
newzbin: this is the username and password for your newzbin account 
usenet: this is the username and password and host for your usenet provider

movies:
  save_directory: this is the directory that movies will be saved when downloading
  script: this is the script that will be run after the download is complete. You can change it, but the provided 
  scripts work nicely.
tv:
  save_directory: this is the directory that tv shows will be saved when downloading
  script: this is the script that will be run after the download is complete. You can change it, but the provided 
  scripts work nicely.

post_scripts:
  full_seasons_path: path where your full seasons of tv shows are
  general_tv_path: path where shows without real seasons go
  movies_path: path where your root movies directory is
  new_releases_path: path where your new releases directory is for movies (this is deprecated and isn't used)
  growl_host: the host of the computer you want growl messages to happen on