public
Description: Your friendly neighborhood nzb downloader
Clone URL: git://github.com/maddox/pyrot.git
Search Repo:
Click here to lend your support to: pyrot and make a donation at www.pledgie.com !
maddox (author)
Fri May 09 11:45:43 -0700 2008
commit  10e0bd09fa963635be4fea31ead4dc1132c37b72
tree    04aa8c9e8a985b08c83b49de6a5ab568143bd8da
parent  5bcce78b81508d1ecaf108974af3f9d5c4fc830a
pyrot /
name age message
folder .gitignore Wed Apr 23 20:53:32 -0700 2008 added browse by date [maddox]
folder Capfile Wed Mar 05 18:13:54 -0800 2008 re-capified [maddox]
folder README Fri Apr 18 21:49:42 -0700 2008 changed readme and changed newzcache URL [maddox]
folder Rakefile Fri May 11 12:48:08 -0700 2007 initial import [maddox]
folder app/ Thu Apr 24 19:34:53 -0700 2008 THIS will fix the stupid button [maddox]
folder config/ Thu Apr 24 13:36:05 -0700 2008 added watchlist frontend [maddox]
folder db/ Thu Apr 24 19:22:11 -0700 2008 got tv episode view in line with movies [maddox]
folder lib/ Fri May 09 11:45:43 -0700 2008 set episodes rake tasks for new newzbin lib [maddox]
folder public/ Thu Apr 24 17:24:46 -0700 2008 got season passes integrated into iphone series... [maddox]
folder script/ Fri May 11 12:48:08 -0700 2007 initial import [maddox]
folder test/ Thu Apr 24 13:36:05 -0700 2008 added watchlist frontend [maddox]
folder 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