Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uraid/qbittorrent_throttle
Throttle qBittorrent on Plex stream Start/Stop
https://github.com/uraid/qbittorrent_throttle
Last synced: 7 days ago
JSON representation
Throttle qBittorrent on Plex stream Start/Stop
- Host: GitHub
- URL: https://github.com/uraid/qbittorrent_throttle
- Owner: uraid
- Created: 2022-02-03T17:44:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-31T06:49:27.000Z (11 months ago)
- Last Synced: 2024-08-02T16:49:40.131Z (3 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dependencies
* Python 3.6+
* 'qbittorrent-api' Python Library
* Tautulli# 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 {1}**: Stream Local is 0
- **Condition {2}**: Action is play
- **Condition {3}**: Streams is 0**Condition logic**: `{1} and {2} or {3}`
### Throttle Download/Upload Speed
**Triggers:**
- Playback Start
- Playback Stop**Arguments:**
Set Download/Upload limit in KB/s. Set `-1` for unlimited
- Playback Start: `-D 1024 -U 1024`
- Playback Stop: `-D -1 -U -1`### Stop all torrents
**Triggers:**
- Playback Start
- Playback Stop**Arguments:**
- Playback Start: `--stop`
- Playback Stop: `--start`### 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