I’m developing a script to scan my library after an event happens and I’m reading this guide:
https://support.plex.tv/articles/201638786-plex-media-server-url-commands/
It seems that I can only scan individual libraries by identifying the database “section” and going to the URL.
http://[PMS_IP_ADDRESS]:32400/library/sections/29/refresh?X-Plex-Token=YourTokenGoesHere
However, I’d like to scan the whole library instead of individual databases, similar to the “Scan Library Files” function available for the whole library.
Anyone know if this is possible?

