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