Skip to main content

Torrent downloading progress on Telegram

Project description

TDPT

Torrent downloading progress on Telegram

Screencast

Features

  • Support for two most popular torrent clients Transmission, rTorrent and deluge
  • Multithreading, each downloading item is handled separately
  • Running post download script in separate process
  • Self-adjustment of Telegram bot limits based on number of torrents tracked
  • Easy configuration
  • Uploading new torrent - just send torrent file to chat

Installation

You need Python 3 to run this program.

$ pip install --user tdpt

Create configuration file

$ cp tdpt.ini.template tdpt.ini

Edit it and save.

FAQ

Transmission already supports running script upon finishing download

Yes, that is true. However the script that transmission will run will be executed in the same thread. That means any long running process would freeze it for that amount of time which is highly undesirable.

tdpt picks up new items so slow

Currently it fetches new items every 20 seconds, because this operation can be quite expensive. I might add option to specify this interval based on your preferences.

I am downloading 20 items and tdpt updates them very rarely

Telegram puts limit of how often bot can make request to one channel. Currently the limit is 20 updates per minute. tdpt makes time adjustment based on number of torrents that it tracks to avoid hitting limits.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdpt-1.3.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

tdpt-1.3-py3-none-any.whl (20.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page