From b98d5b2b64eadebe0980ccc05fa3854f8bbbd200 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 23 Sep 2022 07:59:52 -0400 Subject: [PATCH] 1.0.041 - Use webHook for alert when script is waiting for auth --- root/scripts/video.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/scripts/video.sh b/root/scripts/video.sh index a2e66c5..00a4110 100644 --- a/root/scripts/video.sh +++ b/root/scripts/video.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.040" +scriptVersion="1.0.041" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" @@ -170,6 +170,7 @@ TidalClientSetup () { pip install tidal-dl==2022.3.4.2 --no-cache-dir &>/dev/null TidaldlStatusCheck log "TIDAL :: ERROR :: Loading client for required authentication, please authenticate, then exit the client..." + NotifyWebhook "Error" "TIDAL requires authentication, please authenticate now (check logs)" tidal-dl fi