Command Line to Manual Update Libraries

Server Version#: 4.116.1
Player Version#: N/A

Hello!

I need to manually update my libraries using command line, there is any way to do it?

Thanks in advance!

You would use something like Curl, wget or a browser to do that

First you need to find the key of the library, and you do that in a browser or using curl or wget, when browsing towards:

http://<IP_OF_PMS>:32400/library/sections?X-Plex-Token=<INSERT_TOKEN_HERE>

Above would output the different libraries, as well as their key

Then when you have the key, use the following url to refresh the library:

http://<IP_OF_PMS>:32400/library/sections/<KEY>/refresh?X-Plex-Token=<INSERT_TOKEN_HERE>

To find your token, look here:
https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

1 Like

Use Plex Web URL commands described here:

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

Scan is described here:

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

1 Like

But what if i need to do the same thing but using linux command line?

Thank you!!!

curl/wget was mentioned above by @dane22

1 Like

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