From 31c0af2c18b006dcb5169ff2caab457ccedb17d5 Mon Sep 17 00:00:00 2001 From: Taylor Bourne Date: Mon, 1 Nov 2021 14:43:50 -0700 Subject: [PATCH] use post request to update plex --- root/cronjob.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/cronjob.sh b/root/cronjob.sh index b05241f..cace7b1 100755 --- a/root/cronjob.sh +++ b/root/cronjob.sh @@ -107,7 +107,7 @@ if [ "$use_plexAPI" = "yes" ]; then if [ -z "$plexUpdateURL" ]; then echo "no Plex credentials provided" else - $(echo "$plexUpdateUrl" | sed 's/\\/ /g' | sed "s/'/\"/g") + curl --location --request POST "$plexUpdateURL" sleep 1 fi fi