1.0.215 - Add additional TidaldlStatusChecks to prevent issues

pull/35/head
RandomNinjaAtk 2 years ago committed by GitHub
parent a407111c15
commit 160c687315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save