From e0ae9e337984ddcd086f6ede87b454e8be612ad9 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 1 Aug 2023 12:00:43 +0000 Subject: [PATCH] v3.0 - Improved logging output for debugging #44 --- lidarr/Video.service.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lidarr/Video.service.bash b/lidarr/Video.service.bash index fe5821b..162d27f 100644 --- a/lidarr/Video.service.bash +++ b/lidarr/Video.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="2.9" +scriptVersion="3.0" scriptName="Video" ### Import Settings @@ -131,7 +131,7 @@ ImvdbCache () { log "${processCount}/${lidarrArtistIdsCount} :: $lidarrArtistName :: IMVDB :: Chache is already up-to-date ($artistImvdbVideoUrlsCount==$cachedArtistImvdbVideoUrlsCount), skipping..." return else - log "${processCount}/${lidarrArtistIdsCount} :: $lidarrArtistName :: IMVDB :: Chache needs updating ($artistImvdbVideoUrlsCount==$cachedArtistImvdbVideoUrlsCount)..." + log "${processCount}/${lidarrArtistIdsCount} :: $lidarrArtistName :: IMVDB :: Chache needs updating (${artistImvdbVideoUrlsCount}!=${cachedArtistImvdbVideoUrlsCount})..." if [ -f "/config/extended/logs/video/complete/$lidarrArtistMusicbrainzId" ]; then log "${processCount}/${lidarrArtistIdsCount} :: $lidarrArtistName :: IMVDB :: Removing Artist completed log file to allow artist re-processing..." rm "/config/extended/logs/video/complete/$lidarrArtistMusicbrainzId"