From d391ad34ff66c48271f33a3dd8eeea165bcfe6f8 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 15 Aug 2022 12:43:12 +0000 Subject: [PATCH] v1.0.025 - Change Process order --- root/scripts/video.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/root/scripts/video.sh b/root/scripts/video.sh index 23ce0d4..13034ad 100644 --- a/root/scripts/video.sh +++ b/root/scripts/video.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.024" +scriptVersion="1.0.025" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" @@ -540,7 +540,11 @@ AddFeaturedVideoArtists () { Configuration TidalClientSetup +AddFeaturedVideoArtists +log "-----------------------------------------------------------------------------" +log "Finding Videos" +log "-----------------------------------------------------------------------------" lidarrArtists=$(wget --timeout=0 -q -O - "$lidarrUrl/api/v1/artist?apikey=$lidarrApiKey" | jq -r .[]) lidarrArtistIds=$(echo $lidarrArtists | jq -r .id) lidarrArtistIdsCount=$(echo "$lidarrArtistIds" | wc -l) @@ -763,7 +767,6 @@ for lidarrArtistId in $(echo $lidarrArtistIds); do done done -AddFeaturedVideoArtists #CacheMusicbrainzRecords #ImvdbCache