From 160c687315150611ccbafda6fc9d07b507a3bb5a Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jul 2022 20:35:57 -0400 Subject: [PATCH] 1.0.215 - Add additional TidaldlStatusChecks to prevent issues --- root/scripts/audio.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/root/scripts/audio.sh b/root/scripts/audio.sh index b299817..a353aff 100644 --- a/root/scripts/audio.sh +++ b/root/scripts/audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.214" +scriptVersion="1.0.215" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -330,6 +330,7 @@ TidalClientSetup () { fi + TidaldlStatusCheck tidal-dl -o $downloadPath/incomplete DownloadFormat @@ -342,9 +343,11 @@ TidalClientSetup () { fi if [ ! -f /config/xdg/.tidal-dl.token.json ]; then + TidaldlStatusCheck log ":: TIDAL :: ERROR :: Downgrade tidal-dl for workaround..." pip3 install tidal-dl==2022.3.4.2 log ":: TIDAL :: ERROR :: Loading client for required authentication, please authenticate, then exit the client..." + TidaldlStatusCheck tidal-dl fi @@ -367,6 +370,7 @@ TidalClientSetup () { rm -rf $downloadPath/incomplete/* fi + TidaldlStatusCheck log ":: TIDAL :: Upgrade tidal-dl to the latest..." pip3 install tidal-dl --upgrade