diff --git a/root/scripts/Audio.sh b/root/scripts/Audio.sh index dd91639..5471ae6 100644 --- a/root/scripts/Audio.sh +++ b/root/scripts/Audio.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.7" +scriptVersion="1.0.8" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" if [ "$lidarrUrlBase" == "null" ]; then @@ -83,6 +83,8 @@ log "3"; sleep 1 log "2"; sleep 1 log "1"; sleep 1 + + if [ ! -d /config/xdg ]; then mkdir -p /config/xdg fi @@ -1863,6 +1865,8 @@ if [ "$dlClientSource" == "tidal" ] || [ "$dlClientSource" == "both" ]; then TidalClientSetup fi +LidarrTaskStatusCheck + # Get artist list for LidarrMissingAlbumSearch process, to prevent searching for artists that will not be processed by the script lidarrMissingAlbumArtistsData=$(wget --timeout=0 -q -O - "$lidarrUrl/api/v1/artist?apikey=$lidarrApiKey" | jq -r .[])