A Rust service handling Tautulli Webhooks to enable alt speed on Transmission torrent client.
plex-transmission-throttler
requires the following env variables:
TRANSMISSION_URL=<TRANSMISSION_HOST>/transmission/rpc
TRANSMISSION_USERNAME=transmission
TRANSMISSION_PASSWORD=<TRANSMISSION_PASSWORD>
You can create a .env
file with the previous content or export
them in your current shell.
- Setup a new Webhook notification agent
- Enter the url to your running instance of
plex-transmission-throttler
with a trailing/
. Ex:http://localhost:8000/
- Set Webhook Method to
POST
- In Triggers, enable :
- Playback Start
- Playback Stop
- Playback Pause
- Playback Resume
- Buffer Warning
- In Data, set JSON Data for each of the previous triggers to:
The
{ "action": "play", "stream_location": "{stream_location}" }
action
field should be set as follows:Trigger action Playback Start play Playback Stop stop Playback Pause pause Playback Resume resume Buffer Warning play - Save trigger
docker run -p 8000:8000 --env-file .env ghcr.io/technophil98/plex-transmission-throttler:latest
# Export variables in .env to current shell
set -o allexport; source .env; set +o allexport
# Run it! Will be accessible at 'localhost:8000'
cargo run