diff --git a/plex-library-ids.sh b/plex-library-ids.sh index 9b352c7..cac0614 100644 --- a/plex-library-ids.sh +++ b/plex-library-ids.sh @@ -2,7 +2,8 @@ ids_from_api() { source ./plex-token.sh - 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)"'`) + 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)"') } case "$2" in