This is a quick guide to installing and configuring a Tautulli custom script. It will teach you how to download and configure a Tautulli custom script that drops Plex video streams transcoding from a 4K source.
Enter Tautulli settings and find the Notification Agents link on the left side menu.\ Click Add a new notification agent and scroll down to Script in the selection dialog.
Enter /scripts/tautulli/ in the script folder and exit the text input field.
Select the script named ./kill_stream.py in the Script File drop-down.\ Check your previous steps or bug someone on discord if the script is not listed.
Enter Terminate 4K transcodes or something of your own choice in the description field.
Click the Save button to save the new notification agent.
You can test the agent by attempting to play a 4K movie through the Plex web app and downgrade the quality to 2Mbit. It will be transcoding for about 5-10 seconds, after which you should get the stream kill message.
There is a list of when a notification agent is triggered in the Notification logs section of Tautulli logs.