Update tdarr_node_killer.sh

This commit is contained in:
Admin9705
2024-12-13 08:56:22 -05:00
committed by GitHub
parent cd19ee4405
commit d710066552

View File

@@ -17,11 +17,11 @@
#!/bin/bash
# Configuration
TAUTULLI_API_KEY="dad9bbb78bde43249754b630b58fbf6a" #your api key
TAUTULLI_URL="http://10.0.0.10:8181/api/v2" #your tautulli url
WAIT_SECONDS=180 #wait time for when script killed tdarr node to bring up tdarr node again; do not have short to ensure that plex transcodning has occured in awhile
BASIC_CHECK=3 #wait time to check when plex is not transcoding
CONTAINER_NAME="N1" #the exact name of your tdarr node that you want killed
TAUTULLI_API_KEY="dad9bbb78bde43249754b630b58fbf6a" # your api key
TAUTULLI_URL="http://10.0.0.10:8181/api/v2" # your tautulli url
WAIT_SECONDS=180 # wait time for when script killed tdarr node to bring up tdarr node again; do not have short to ensure that plex transcodning has occured in awhile
BASIC_CHECK=3 # wait time to check when plex is not transcoding
CONTAINER_NAME="N1" # the exact name of your tdarr node that you want killed
# Function to check if Plex is transcoding via Tautulli
is_plex_transcoding() {