1.0.041 - Use webHook for alert when script is waiting for auth

pull/77/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 2c9ebf2707
commit b98d5b2b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save