Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

History

0.1.b1 - 2011-01-12

0.1a5 - 2010-12-17

  • robustness fix (tvbutler would barf on some entries and stop processing the remaining entries)

  • log to stdout, too to get instant feedback when calling tvbutler from console

0.1a4 - 2010-12-08

  • added global regular expression filter (defaults to skip archives of seasons)

    UPGRADE NOTE: add global_exclude_regex=(all.month|month.of|season[\s\d]*complete) to the [main] section your existing config to activate this feature.

0.1a3 - 2010-12-05

  • added logging

0.1a2 - 2010-12-05

Initial release (0.1a was nuked due to packaging foobar)

Metadata

Release files for tvbutler 0.1b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tvbutler 0.1b1
File Size Uploaded Provenance Actions
tvbutler-0.1b1.zip 15.4 kB Without provenance Details for tvbutler-0.1b1.zip

Release files / tvbutler-0.1b1.zip

Download URL tvbutler-0.1b1.zip
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8cd60e0d6140bb75388dc3bba3a91b48f1365276bfbf1bb4c733dbb36cb74a7a
BLAKE2b-256 checksum
How to use checksums
f0e0d101cd719e30279308787f8c0ada6375e21d67e1b985da1bf7a8a241542a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tvbutler 0.1b1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page