public
Description: Your friendly neighborhood nzb downloader
Clone URL: git://github.com/maddox/pyrot.git
Click here to lend your support to: pyrot and make a donation at www.pledgie.com !
maddox (author)
Thu Apr 24 00:11:34 -0700 2008
commit  4ede655542ee019708ddab1c34184164023d663f
tree    cbab72723e3eb99e5e8a7c269193f847298ead55
parent  40801ea4c0c015cef1c72b4a9580abc12cd3f46e
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/ Wed Apr 23 22:55:13 -0700 2008 updated ipod ep number with controller [maddox]
directory config/ Wed Apr 23 23:17:49 -0700 2008 added ipod group to config [maddox]
directory db/ Wed Apr 23 22:50:38 -0700 2008 added ipod episode number [maddox]
directory lib/ Thu Apr 24 00:11:34 -0700 2008 REALY downloading stuff now [maddox]
directory public/ Mon Apr 21 22:33:40 -0700 2008 got adjustments working [maddox]
directory script/ Fri May 11 12:48:08 -0700 2007 initial import [maddox]
directory test/ Fri Jan 11 01:02:19 -0800 2008 added series and episode controllers for new sw... [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