public
Fork of maddox/pyrot
Description: Your friendly neighborhood nzb downloader
Clone URL: git://github.com/mschrag/pyrot.git
maddox (author)
Fri May 09 09:44:44 -0700 2008
commit  0a131f384f35df7fb8999da8c65db1b99a04abf9
tree    296a67a076629980f5e717202e0c704bc3b9be53
parent  34d9623b7574e0ee22621bbbc667c3ba9dbda313 parent  5bcce78b81508d1ecaf108974af3f9d5c4fc830a
pyrot /
name age message
file .gitignore Wed Apr 23 20:53:32 -0700 2008 added browse by date [maddox]
file Capfile Wed Mar 05 18:13:54 -0800 2008 re-capified [maddox]
file README Fri Apr 18 21:49:42 -0700 2008 changed readme and changed newzcache URL [maddox]
file Rakefile Fri May 11 12:48:08 -0700 2007 initial import [maddox]
directory app/ Fri May 09 09:44:44 -0700 2008 Merge branch 'master' of git@github.com:maddox/... [maddox]
directory config/ Thu Apr 24 13:36:05 -0700 2008 added watchlist frontend [maddox]
directory db/ Thu Apr 24 19:22:11 -0700 2008 got tv episode view in line with movies [maddox]
directory lib/ Fri May 09 09:44:15 -0700 2008 added new nezbin lib [maddox]
directory public/ Thu Apr 24 17:24:46 -0700 2008 got season passes integrated into iphone series... [maddox]
directory script/ Fri May 11 12:48:08 -0700 2007 initial import [maddox]
directory test/ Thu Apr 24 13:36:05 -0700 2008 added watchlist frontend [maddox]
directory vendor/ Tue May 15 20:55:01 -0700 2007 added: broadcatching data [maddox]
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