uraid / qbittorrent_throttle

Throttle qBittorrent on Plex stream Start/Stop
16 stars 2 forks source link

Dependencies

Script Setup

Edit qbittorrent_throttle.py and set qBittorrent username, password and IP.

Tautulli Setup

Commum Scripts Settings in Tautulli:
Taultulli > Settings > Notification Agents > Add a Notification Agent > Script
Set Script Folder
Select qbittorrent_throttle.py
Script Timeout 0

Throttle only on wan connections

Notification conditions:

Condition logic: {1} and {2} or {3}

Throttle Download/Upload Speed

Triggers:

Arguments: Set Download/Upload limit in KB/s. Set -1 for unlimited

Stop all torrents

Triggers:

Arguments:

Verify this setting is enabled

Settings -> Notifications & Newsletters -> (Show Advanced) Allow Playback Stop Notifications Exceeding Watched Percent.

Usage

-U      - Set max upload speed [KBs], use "-1" to set unlimited
-D      - Set max download speed [KBs], use "-1" to set unlimited
-h | --help - Help

Credits

https://gist.github.com/Generator/67da7dc859634046165320ef061769e0 https://gist.github.com/Tinynja/2169be3f20b8656f67dbc89129d57598