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 !
Mike Schrag (author)
Thu Apr 24 01:16:30 -0700 2008
commit  0ca33000d2d04dc37e5a4117571250879bd4eb86
tree    a62217dace9b047c723b52c6707da3b7ad444682
parent  9f7e144082e15babb9fe2dec2fc09d7d42ed69f2
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/ Thu Apr 24 01:16:30 -0700 2008 shorter xxx minutes ago [Mike Schrag]
directory config/ Wed Apr 23 22:07:56 -0700 2008 changed dev newzcache url back [maddox]
directory db/ Mon Apr 21 22:33:40 -0700 2008 got adjustments working [maddox]
directory lib/ Wed Apr 23 22:23:14 -0700 2008 added java.awt.headless flag so pyrot.jar stays... [Mike Schrag]
directory public/ Thu Apr 24 01:01:00 -0700 2008 segmented controls for movie buttons [Mike Schrag]
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