Update tdarr_node_killer.sh
This commit is contained in:
@@ -17,11 +17,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
TAUTULLI_API_KEY="dad9bbb78bde43249754b630b58fbf6a" # your api key
|
TAUTULLI_API_KEY="dad9bbb78bde43249754b630b58fbf6a" # Tautulli API Key
|
||||||
TAUTULLI_URL="http://10.0.0.10:8181/api/v2" # your tautulli url
|
TAUTULLI_URL="http://10.0.0.10:8181/api/v2" # 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
|
WAIT_SECONDS=180 # Wait time (seconds) to bring docker container back up when it was stopped
|
||||||
BASIC_CHECK=3 # wait time to check when plex is not transcoding
|
BASIC_CHECK=3 # check Plex Activity intervals (seconds) when not playing
|
||||||
CONTAINER_NAME="N1" # the exact name of your tdarr node that you want killed
|
CONTAINER_NAME="N1" # Exact of your Tdarr Node that you want stopped
|
||||||
|
|
||||||
# Function to check if Plex is transcoding via Tautulli
|
# Function to check if Plex is transcoding via Tautulli
|
||||||
is_plex_transcoding() {
|
is_plex_transcoding() {
|
||||||
|
|||||||
Reference in New Issue
Block a user