Is there a way to trigger a library scan via URL?

Is there any way I can replicate clicking the Scan Library Files button in the web GUI via an URL? It’s OK to assume that I have a valid Plex login, no need to stuff auth information into the URL as well.

Having such a button in my browser bookmarks bar for example would be a nice time saver after adding new files to a library.

image

https://support.plex.tv/articles/201638786-plex-media-server-url-commands/

1 Like

Thanks!!

Or just go in setting, library and check Scan my library automatically

For whatever reason that does not always seem to work reliably.

Did this work for you? I have been using this for a while and it is broken for me in the last month. I opened an issue which shows the sample command…

Using a link with the format from the support article, it does work. I tried it with your curl command just now and that worked too. :man_shrugging: (server 1.32.6.7557)

Yeah… you are using a slightly older version than me. This worked about a month ago but I think something is broken in the latest load. If you need this functionality I would avoid upgrading until there is some word on the issue I opened.

10-4, thanks for the info. I hope they see your report.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.