1.0.0044 - Bug fix for authentication issues

pull/6/head
RandomNinjaAtk 3 years ago committed by GitHub
parent 0b463f4e37
commit a10f6b67c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.0043" scriptVersion="1.0.0044"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase="" lidarrUrlBase=""
@ -283,6 +283,9 @@ DArtistAlbumList () {
TidalClientSetup () { TidalClientSetup () {
log ":: TIDAL :: Verifying tidal-dl configuration" log ":: TIDAL :: Verifying tidal-dl configuration"
touch /config/xdg/.tidal-dl.log touch /config/xdg/.tidal-dl.log
if [ -f /config/xdg/.tidal-dl.json ]; then
rm /config/xdg/.tidal-dl.json
fi
if [ ! -f /config/xdg/.tidal-dl.json ]; then if [ ! -f /config/xdg/.tidal-dl.json ]; then
log ":: TIDAL :: No default config found, importing default config \"tidal.json\"" log ":: TIDAL :: No default config found, importing default config \"tidal.json\""
if [ -f /config/extended/scripts/tidal-dl.json ]; then if [ -f /config/extended/scripts/tidal-dl.json ]; then

Loading…
Cancel
Save