diff --git a/plex-refreshmetadata.sh b/plex-refreshmetadata.sh index d583066..4b248ff 100644 --- a/plex-refreshmetadata.sh +++ b/plex-refreshmetadata.sh @@ -19,7 +19,7 @@ update_from_api() { source ./plex-library-ids.sh # run a loop against each library - for library_number in LOCAL_LIBRARY_IDS + for library_number in $LOCAL_LIBRARY_IDS do echo "Running Library Update and metadata refresh for key: ${library_number}" #curl -X PUT http://127.0.0.1:32400/library/sections/${library_number}/refresh\?force=1\&X-Plex-Token=${LOCAL_PLEX_TOKEN}