From d12ecc295116fcbe1e8a6e58e3622d87d3663417 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 13 Mar 2023 08:17:49 -0400 Subject: [PATCH] 1.0.071 - Improve MBZDB cache process log messaging #211 --- root/scripts/Video.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/root/scripts/Video.sh b/root/scripts/Video.sh index 67ec657..b00e7a2 100644 --- a/root/scripts/Video.sh +++ b/root/scripts/Video.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.070" +scriptVersion="1.0.071" if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" @@ -122,6 +122,7 @@ CacheMusicbrainzRecords () { log "$processCount of $lidarrArtistIdsCount :: MBZDB :: $lidarrArtistName :: Previously cached, data needs to be updated..." rm "/config/extended/cache/musicbrainz/$lidarrArtistId--$lidarrArtistMusicbrainzId--recordings.json" else + log "$processCount of $lidarrArtistIdsCount :: MBZDB :: $lidarrArtistName :: Chache is already up-to-date, skipping..." return fi fi @@ -131,6 +132,7 @@ CacheMusicbrainzRecords () { log "$processCount of $lidarrArtistIdsCount :: MBZDB :: $lidarrArtistName :: Previously cached, data needs to be updated..." rm "/config/extended/cache/musicbrainz/$lidarrArtistId--$lidarrArtistMusicbrainzId--recordings.json" else + log "$processCount of $lidarrArtistIdsCount :: MBZDB :: $lidarrArtistName :: Chache is already up-to-date, skipping..." return fi fi