From f6d36bf975a55eba905174b67cfd7939e24338a7 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 13 Jun 2022 17:30:15 +0000 Subject: [PATCH] Update PlexNotify.bash --- 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 24b8404..cbaa2e9 100644 --- a/root/scripts/PlexNotify.bash +++ b/root/scripts/PlexNotify.bash @@ -23,12 +23,12 @@ if echo "$plexLibraries" | grep "$lidarrRootFolderPath" | read; then fi else log "ERROR: No Plex Library found containing path \"/$lidarrRootFolderPath\"" - log "ERROR: Add \"/$lidarrRootFolderPath\" as a folder to a Plex TV Library" + log "ERROR: Add \"/$lidarrRootFolderPath\" as a folder to a Plex Music Library" exit 1 fi plexFolderEncoded="$(jq -R -r @uri <<<"$Lidarr_Artist_Path")" curl -s "$plexUrl/library/sections/$plexlibrarykey/refresh?path=$plexFolderEncoded&X-Plex-Token=$plexToken" -log "Plex Scan notification sent! ($plexfolder)" +log "Plex Scan notification sent! ($Lidarr_Artist_Path)" exit 0