- deluge-console
$ wget -O deluge_throttle.sh https://gist.githubusercontent.com/Generator/67da7dc859634046165320ef061769e0/raw/deluge_throttle.sh
$ chmod +x deluge_throttle.sh
Edit deluge_throttle.sh
and set deluged
username password .
If want's to use different username, password and level see Deluge documentation
https://dev.deluge-torrent.org/wiki/UserGuide/Authentication
Commum Scripts Settings in Tautulli:
Taultulli > Settings > Notification Agents > Add a Notification Agent > Script
Set Script Folder
Select deluge_throttle.sh
Script Timeout 0
Triggers:
- Playback Start
- Playback Stop
Arguments:
Set Download/Upload limit in KBps. Set -1
for unlimited
- Playback Start:
-D 100 -U 10
- Playback Stop:
-D -1 -U -1
Triggers:
- Playback Start
- Playback Stop
Arguments:
- Playback Start:
-p
- Playback Stop:
-r
-U - Set max upload speed [KBs], use "-1" to set unlimited
-D - Set max download speed [KBs], use "-1" to set unlimited
-p - Pause active torrent
-r - Restore paused torrents (previously active only)
-i - Shows torrent information status
-h | --help - Help
I modified this script a little bit to work with the new version of deluge-console (added
--verbose
parameter), and adapted it to be used with a docker setup, such as in Unraid. I'm a noob when it comes to GitHub, so I put my updated file as a fork here.Keep in mind that, if you are using this in an unraid setup like I am, you have to give access to the
docker
command from the tautulli container. To do that, you can follow these procedures:cat /etc/group | grep docker
useradd -MN -G docker --shell=/bin/false -g
DOCKER_GIDtautulli
cat /etc/passwd | grep tautulli
PUID
to the tautulli uid (from step 4)PGID
to the tautulli gid (from step 4)/var/run/docker.sock
to/var/run/docker.sock
/usr/bin/docker
to/usr/bin/docker
deluge_throttle.sh
according to your setupAdditionally, you can set the following tautulli conditions to prevent throttling if you are using your plex server locally:
