From 2c9ebf2707c5e4cb55361298a0364ad497d90122 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 23 Sep 2022 07:57:24 -0400 Subject: [PATCH] 1.0.249 - Use webHook to send an alert when script is waiting for autentication --- root/scripts/audio.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/scripts/audio.sh b/root/scripts/audio.sh index d623d56..0686df5 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.248" +scriptVersion="1.0.249" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -377,6 +377,7 @@ TidalClientSetup () { log "TIDAL :: ERROR :: Downgrade tidal-dl for workaround..." pip3 install tidal-dl==2022.3.4.2 --no-cache-dir &>/dev/null log "TIDAL :: ERROR :: Loading client for required authentication, please authenticate, then exit the client..." + NotifyWebhook "Error" "TIDAL requires authentication, please authenticate now (check logs)" TidaldlStatusCheck tidal-dl fi