v1.0.8 - Run LidarrTaskStatusCheck before executing main script functions

pull/250/head
RandomNinjaAtk 1 year ago committed by GitHub
parent 57cbfb660a
commit b8521f91cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 .[])

Loading…
Cancel
Save