Have you ever wanted to throttle Plex when connecting remotely to your server? Well here is the script for you! The instructions to deploy are below:
You will need:
- A plex server with Plex Pass (for webhooks)
- n8n running locally (either in docker on via the desktop app)
- Qbittorent with WebUI enabled
- Begin by installing n8n by visiting n8n.io. You can install the desktop version or the docker version, whichever works best for your but I'm doing this on my desktop version of n8n.
- Copy the code from this page into your n8n install canvas. You should see the script appear before your eyes.
- From there, you Double click on the Webhook node at the beginning of the script. Copy both the Test and Production URLs that appear there.
- Now make your way to Plex and visit your settings. On the left, you should see the webhooks option if you have Plex Pass. This will setup your triggers.
- Next visit your qBitTorrent instance and enable WebUI. Notate your Username, Password, and Port. You will also need to know the IP of the machine that qbittorent is running on. If you have an iPhone you can connect to the same wireless network as your computer and use the Fing app to scan the network for the IP.
- Open up the script and edit the Global Variables to reflect the values you copied.
- Hit save at the top right, and then activate the script.
- Enjoy!!