Add more TidaldlStatusCheck before downgrading/upgrading client

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

@ -258,7 +258,7 @@ TidalClientSetup () {
fi fi
fi fi
TidaldlStatusCheck
tidal-dl -o $downloadPath/incomplete tidal-dl -o $downloadPath/incomplete
if [ -f /config/xdg/.tidal-dl.token.json ]; then if [ -f /config/xdg/.tidal-dl.token.json ]; then
@ -269,6 +269,7 @@ TidalClientSetup () {
fi fi
if [ ! -f /config/xdg/.tidal-dl.token.json ]; then if [ ! -f /config/xdg/.tidal-dl.token.json ]; then
TidaldlStatusCheck
log "TIDAL :: ERROR :: Downgrade tidal-dl for workaround..." log "TIDAL :: ERROR :: Downgrade tidal-dl for workaround..."
pip3 install tidal-dl==2022.3.4.2 pip3 install tidal-dl==2022.3.4.2
log "TIDAL :: ERROR :: Loading client for required authentication, please authenticate, then exit the client..." log "TIDAL :: ERROR :: Loading client for required authentication, please authenticate, then exit the client..."
@ -294,6 +295,7 @@ TidalClientSetup () {
rm -rf $downloadPath/incomplete/* rm -rf $downloadPath/incomplete/*
fi fi
TidaldlStatusCheck
log ":: TIDAL :: Upgrade tidal-dl to the latest..." log ":: TIDAL :: Upgrade tidal-dl to the latest..."
pip3 install tidal-dl --upgrade pip3 install tidal-dl --upgrade

Loading…
Cancel
Save