From 0b5bd9ffc70bf99555943b6c058e69982755e0b7 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 22 Feb 2024 07:18:15 -0500 Subject: [PATCH] test --- plex-library-ids.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plex-library-ids.sh b/plex-library-ids.sh index cac0614..b414b2e 100644 --- a/plex-library-ids.sh +++ b/plex-library-ids.sh @@ -3,7 +3,7 @@ ids_from_api() { source ./plex-token.sh echo "Getting Plex Library list" - LOCAL_LIBRARY_IDS= $(curl -s -H "Accept: application/json" -H "X-Plex-Token: ${LOCAL_PLEX_TOKEN}" http://127.0.0.1:32400/library/sections | jq -M -r '.MediaContainer.Directory[] | "\(.key)"') + LOCAL_LIBRARY_IDS=$(`curl -s -H "Accept: application/json" -H "X-Plex-Token: ${LOCAL_PLEX_TOKEN}" http://127.0.0.1:32400/library/sections | jq -M -r '.MediaContainer.Directory[] | "\(.key)"'`) } case "$2" in