From e9e047bf789011b770db0949dcf6d215c93a4138 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 12 Jul 2023 11:58:58 +0000 Subject: [PATCH] v1.0.2 - make configurable --- sonarr/PlexNotify.bash | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sonarr/PlexNotify.bash b/sonarr/PlexNotify.bash index 7acb1e5..c983465 100644 --- a/sonarr/PlexNotify.bash +++ b/sonarr/PlexNotify.bash @@ -1,17 +1,18 @@ #!/usr/bin/env bash -scriptVersion="1.0.1" +scriptVersion="1.0.2" notfidedBy="Sonarr" arrRootFolderPath="$(dirname "$sonarr_series_path")" arrFolderPath="$sonarr_series_path" arrEventType="$sonarr_eventtype" extrasPath="$1" +scriptName="PlexNotify" -# Debugging Settings -#enableExtras=false +#### Import Settings +source /config/extended.conf log () { - m_time=`date "+%F %T"` - echo $m_time" :: PlexNotify :: $scriptVersion :: "$1 + m_time=`date "+%F %T"` + echo $m_time" :: $scriptName :: $scriptVersion :: "$1 } # auto-clean up log file to reduce space usage