Unlocking metadata fields via Plex API

rossinior
Wed, 12 Nov 2025 10:45:11 +0000
Dev/API Corner

Hi,

@OttoKerner had some insightful advice for using API to unlock or lock certain metadata fields, not only in the cited thread, but also in a few more threads.

Reset all manual poster selections in a library at once or unlock other metadata fields Tips, Tricks & How-Tos

The following could be most useful for very old libraries, which had their metadata agent already changed several times. For instance if the server admin has manually selected different posters on many items, but now wants to make a clean break and leave all poster selections to the agent. While one could do that by deleting the library and re-creating it, it might however be a bit drastic a measure. What it does: reset the locked attribute of all poster selections in a given library. Upon t…

My questions:

With the current Plex Media Server API ( https://developer.plex.tv/pms/ ), is this still possible? And is it also possible via plex.tv ?

Are there any limitations on which metadata can or cannot be locked or unlocked?

I am thinking about creating a script that reads the current data via API for movies, TV shows, collections, playlists… then let’s me change certain details of it, then asks me if I want to overwrite the field in case it is locked, then unlock if I say “yes”, then do the change, then check the field via API again to verify…. would that (still) be possible?

1 post - 1 participant