I’ve built a webscraper to get metadata like title, tags etc from the web.
I couldn’t find documentation on how to get this data into the plex database. Is there a documentation somewhere on for example which tables I need to populate in the sqlite database in order to import my scraped tags?
Or is there even an API to import metadata from e.g. json?
Unfortunately no.
The only access to the DB now is through the API and there is no external API to perform this task.
It only exists internal to the server software itself
thanks for your answers so far. I used the unoffical python plex api to at least add tags. I would build a agent, but I couldn’t find any documentation for the API…
Would be great if the plex team could work on a small python package with documentation.
There is nothing to see. I’ve built a webscraper. Scraping and interfacing with plex are two different steps at the moment. The crucial part (getting things into plex) isn’t written yet. and I don’t really know where to start. I’ve looked at several agent implementations. They inherit from some agent class and write a search and an update method. If there just was some documentation…
The tags I’ve added utilized the unoffical plex api. Unfortunately the API is very limited in what it can do. Adding posters is not possible.
I don’t necessarily need an agent, it would suffice to build something that only runs once.