From a5c0a400307e72de211aeb8d1c0e97e977c465dd Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 28 Jun 2022 13:33:47 +0000 Subject: [PATCH] v1.0.2 - bug fix - enable notifications --- root/scripts/PlexNotify.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/PlexNotify.bash b/root/scripts/PlexNotify.bash index 994bf25..562e61b 100644 --- a/root/scripts/PlexNotify.bash +++ b/root/scripts/PlexNotify.bash @@ -1,6 +1,6 @@ #!/usr/bin/env bash lidarrRootFolderPath="$(dirname "$lidarr_artist_path")" -version=1.0.1 +version=1.0.2 # auto-clean up log file to reduce space usage if [ -f "/config/logs/PlexNotify.txt" ]; then @@ -58,7 +58,7 @@ for key in ${!plexKeys[@]}; do plexKey="${plexKeys[$key]}" if echo "$plexLibraryData" | grep "\"@path\": \"$lidarrRootFolderPath" | read; then plexFolderEncoded="$(jq -R -r @uri <<<"$lidarr_artist_path")" - #curl -s "$plexUrl/library/sections/$plexlibrarykey/refresh?path=$plexFolderEncoded&X-Plex-Token=$plexToken" + curl -s "$plexUrl/library/sections/$plexlibrarykey/refresh?path=$plexFolderEncoded&X-Plex-Token=$plexToken" log "Plex Scan notification sent! ($lidarr_artist_path)" fi done