Deluge bittorrent plugin to pause all torrents if too much data is transferred.
Python JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
TrafficLimits.egg-info
trafficlimits
.gitignore
INSTALL
README.md
TODO
create_dev_link.sh
setup.py

README.md

Deluge Traffic Limits

TrafficLimits is a plugin for the Deluge bittorrent client. It will pause all torrents if more than a set amount of data is uploaded or downloaded.

TrafficLimits can be found at http://github.com/mavit/deluge-trafficlimits.

Downloads can be found at http://www.triv.org.uk/~mavit/deluge-trafficlimits/.

Questions may be asked on the Deluge forum.

Configuration:

As well as setting the limits through the preferences (GTK UI only, for now), you can also create a file called ~/.config/deluge/trafficlimits containing a label, the upload limit, the download limit, and the combined limit (in bytes), each on a line by themselves. For example:

January
-1
21474836480
-1

This is intended to be used by a cron job for automatic scheduling, e.g.,

* 00-15,21-23 * * * /bin/echo -e "Unlimited\n-1\n-1\n-1"             > ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits.tmp && mv ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits.tmp ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits
* 16-20       * * * /bin/echo -e "Evening\n400000000\n750000000\n-1" > ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits.tmp && mv ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits.tmp ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits

See also:

Please see also the Toggle plugin. You will need this to resume transfers once they have been paused, unless you use the automatic scheduling..