From a10f6b67c7513a9e97edc207c754c3ee66b0d950 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 21 Jun 2022 12:22:50 +0000 Subject: [PATCH] 1.0.0044 - Bug fix for authentication issues --- root/scripts/download.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/root/scripts/download.sh b/root/scripts/download.sh index c2765ee..df9724e 100644 --- a/root/scripts/download.sh +++ b/root/scripts/download.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.0043" +scriptVersion="1.0.0044" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" = "null" ]; then lidarrUrlBase="" @@ -283,6 +283,9 @@ DArtistAlbumList () { TidalClientSetup () { log ":: TIDAL :: Verifying tidal-dl configuration" 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 log ":: TIDAL :: No default config found, importing default config \"tidal.json\"" if [ -f /config/extended/scripts/tidal-dl.json ]; then