Plex API: Set IMDb Id and refresh movie metadata

I use a script to automatically match unmatched movies, I use the same web request of plex web to “match” or “fix match” the movie metadata, which just sends the IMDb Id of the movie to the plex server :
http://192.168.0.1:32400/library/metadata/8868/match?guid=com.plexapp.agents.imdb%3A%2F%2Ftt0499549%3Flang%3Den&name=Avatar&year=2009
I can use the same web method to set the IMDb Id but only this one is set in plex. In plex web when you (fix) match a movie also the metadata (cover, description, genre, etc) are refreshed. How can you achieve the same result with a script?
I know that theoretically it is possible to “refresh the metadata” by calling the web method: http://192.168.0.1:32400/library/metadata/8868/refresh
But it doesn’t work, also in plex web if I click the “refresh metadata” it does nothing.
Is there a web method in the plex API to make plex refresh the movie metadata by just passing the IMDb Id?

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