[plugin] Traffic Limits
Posted: Fri Nov 12, 2010 8:24 pm
TrafficLimits is a Deluge plugin to pause all torrents if more than a set amount of data is uploaded or downloaded.
Downloads
Source code, bug reports, etc.
From the README:
Downloads
Source code, bug reports, etc.
From the README:
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, and the download limit (in bytes), each on a line by themselves. For example:
This is intended to be used by a cron job for automatic scheduling, e.g.,Code: Select all
January -1 21474836480
See also:Code: Select all
* 00-15,21-23 * * * /bin/echo -e "Unlimited\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" > ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits.tmp && mv ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits.tmp ${XDG_CONFIG_HOME:-~/.config}/deluge/trafficlimits
Please see also the Toggle plugin. You will need this to resume transfers once they have been paused, unless you use the automatic scheduling.