From 6e8f0189e70f3d84b56dd18ea26d86b153824e66 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 31 Oct 2022 07:36:37 -0400 Subject: [PATCH] v1.0.007 - improve log output --- root/scripts/Extras.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/root/scripts/Extras.bash b/root/scripts/Extras.bash index 7316df1..b8c49b1 100644 --- a/root/scripts/Extras.bash +++ b/root/scripts/Extras.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.0.006" +scriptVersion="1.0.007" arrEventType="$sonarr_eventtype" arrItemId=$sonarr_series_id tmdbApiKey="3b7751e3179f796565d88fdb2fcdf426" @@ -197,17 +197,17 @@ chmod 666 "/config/extended/extras/$tmdbId" if [ ! -z "$plexToken" ]; then # Always update plex if extra is downloaded if [ "$updatePlex" == "true" ]; then - log "Using PlexNotify.bash to update Plex...." + log "$itemTitle :: Using PlexNotify.bash to update Plex...." bash /config/extended/scripts/PlexNotify.bash "$itemPath" exit fi # Do not notify plex if this script was triggered by the AutoExtras.bash and no Extras were downloaded if [ "$autoScan" == "true" ]; then - log "Skipping plex notification, not needed...." + log "$itemTitle :: Skipping plex notification, not needed...." exit else - log "Using PlexNotify.bash to update Plex...." + log "$itemTitle :: Using PlexNotify.bash to update Plex...." bash /config/extended/scripts/PlexNotify.bash "$itemPath" exit fi