Project

overdrive

0.0
No commit activity in last 3 years
No release in over 3 years
An RSS frontend for transmissions. It defines a basic DSL that allows you decide what you do once the files have been downloaded
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Overdrive

Overdrive is a RSS frontend for the transmission bit torrent client. It has hooks to make downloading TV series much easier, and allows recipes with callbacks to make filtering show much easier.

Installation

Overdrive is a ruby gem that uses gemcutter. To install, simply do the following:

sudo gem install gemcutter
sudo gem tumble

then

sudo gem install overdrive

This should install the overdrive binary in your path.

Usage

To do anything useful, you need to setup a recipe. You can store the recipe (in Linux) at

/etc/overdrive.rb
/var/transmission/config/overdrive.rb
$HOME/.overdrive/overdrive.rb

and you can add paths via the -c argument:

overdrive -c /path/to/recipe.rb

A sample recipe might look like this:

add_feed "http://www.mytorrents.com/torrents.rss"
add_feed "http://www.myothertorrents.com/torrents.rss"

add_title "24"
add_title "30 Rock"
add_title "Alias"

filter do |item|
  parsed = parse_metadata(item)
  if parsed[:title] && parsed[:series] && parsed[:episode]
    title = parsed[:title].split(' ').map { |t| t[0..0].upcase + t[1..-1] }.join(' ')
  
    if titles.include?(title)
      target = "/videos/#{title}/Season #{parsed[:series].to_i.to_s}"
      download(item.url, :download_dir => target)
    end
  end
end

You can get a full list of command line arguments by running

overdrive -h

You can get a list of DSL commands on the wiki

http://wiki.github.com/madpilot/overdrive