Skip to content
forked from tomster/tvbutler

tvbutler reads RSS feeds from http://tvtorrents.com and downloads torrents of new episodes for you in your preferred quality (but is smart enough to fallback to non-HD versions, if available).

Notifications You must be signed in to change notification settings

plambert/tvbutler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tvbutler reads RSS feeds from http://tvtorrents.com and downloads torrents of new episodes for you in your preferred quality (but is smart enough to fallback to non-HD versions, if available).

Usage

tvbutler is designed to work as a crontab or launchd entry: called without any parameters it will download all given feeds, try to identify shows and then figure out which episodes are available in which quality.

It then downloads the torrent files into the given target directory (which typically will be 'watched' by a torrent client).

tvbutler keeps a log of its activities in ~/.tvbutler/log and a (sqlite) database of known shows and episodes in ~/.tvbutler/database.db

Configuration

The configuration lives in ~/.tvbutler/config. If it doesn't exist, tvbutler will create a sample configuration when it's run for the first time. It has some comments and should thus be pretty self-explanatory:

[main]
torrent_download_dir=~/Downloads/
# one of sd, 720p, 1080p
preferred_quality=720p

# one per line, indented
feeds =
    http://www.tvtorrents.com/mytaggedRSS?digest=xxxxx
    http://www.tvtorrents.com/mydownloadRSS?digest=xxxx

Since tvbutler is aimed at downloading new episodes of currently running shows as they are released, it excludes by default all torrents it recognizes as archives of entire seasons. It does so by excluding all torrents whose description matches a regular expression. If you have a global_exclude_regex entry in the [main] section of your configuration it will be applied, if it's missing, nothing will be filtered. The default looks like so:

global_exclude_regex=(all.month|month.of|season[\s\d]*complete)

Installation

Just install easy_install like so:

easy_install tvbutler

Alternatively, download the archive, expand it and run:

python setup.py install

This will install the command line executable tvbutler mentioned above.

TODO

  • archive or delete files older than n days (perhaps base decision on tag)
  • remove torrents from transmission that have reached their seeding limit

About

tvbutler reads RSS feeds from http://tvtorrents.com and downloads torrents of new episodes for you in your preferred quality (but is smart enough to fallback to non-HD versions, if available).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%