-
Notifications
You must be signed in to change notification settings - Fork 132
Tautulli Custom Scripts
This is a quick guide to installing and configuring a Tautulli custom script. It will teach you how to download and configure a Tautulli (plexpy) custom script that drops Plex video streams transcoding a 4K source.
Access your Cloudbox server as your non-root user.
We'll be installing the Killstream.py script from the JBOPS script collection.
cd /scripts/plexpy/
curl -O https://raw.githubusercontent.com/blacktwin/JBOPS/master/killstream/kill_stream.py
ls -la kill_stream.py
The file should be around 9700 bytes in size.
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/plexpy/
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.
Put a checkmark in Playback Start
and Playback Resume
Condition {1}: Video Decision
- is
- transcode
Condition {2}: Library Name
- contains
- 4K
Note: adjust the library name if your 4K libraries does not contain the name 4K.
Under Playback Start enter the following:
--jbop stream --username {username} --sessionId {session_id} --killMessage 'Transcoding is not allowed from the 4K libraries.'
Under Playback Resume enter the following:
--jbop stream --username {username} --sessionId {session_id} --killMessage 'Transcoding is not allowed from the 4K libraries.'
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.
- airdcpp
- Airsonic
- alltube
- always
- amongus
- Apprise
- archivebox
- arrX (SonarrX, RadarrX, BazarrX)
- AssHama
- autoscan
- Bazarrx
- Beets
- Bitwarden
- Booksonic
- Bookstack
- btrfsmaintenance
- calibre-web
- calibre
- Coder
- comicstreamer
- comixed
- couchpotato
- Dashmachine
- deemix
- deezloader-remix
- Deluge
- DelugeVPN
- Drive STRM
- eBooks: Calibre and Calibre web
- emby2
- embystat
- EPMS
- Filebot
- Filebrowser
- filezilla
- FlareSolverr
- Funkwhale
- Gazee
- Gitea
- Glances
- Goplaxt
- gotify
- grafana
- Guacamole
- Handbrake
- Heimdall
- Hetzner NFS VLAN
- influxdb
- InvoiceNinja
- JDownloader2
- Jellyfin
- Jirafeau
- KCPTUN
- Kitana
- komga
- Krusader
- LazyLibrarian
- lidarrx
- Logarr
- Mango
- Mediabutler
- medusa
- Mellow
- Minecraft
- Monitorr
- Mylar
- mylar3
- navidrome
- Nextcloud
- NowShowing
- NZBHydra (v1)
- ombix
- Organizr (v1)
- ouroboros
- overseerr
- paperless-ng
- plex2
- Pyload
- qBittorrent
- qbittorrentvpn
- Quassel
- RadarrX
- redbot
- requestrr
- requestrrx
- resilio-sync
- rocketchat
- sickchill
- searx
- SonarrX
- Speedtest
- SSHswifty
- stash
- Subsonic
- SyncLounge
- Tdarr
- telegraf
- Telly
- TheLounge
- transmissionvpn
- transmissionx
- ubooquity
- Unifi
- unmanic
- Varken
- vnstat
- wallabag
- Watchtower
- Wordpress
- Xteve
- ZNC
- Custom python plexlibrary libraries
- Speed up Plex / Emby / Jellyfin
- Tautulli Custom Scripts
- Plex Scanners and Agents