Hi all,
I’m trying to write a custom metadata agent to query information about shows and episodes from a local web service. I am able to get it to search() and update() according to the logs, but the things I’m setting on episodes aren’t sticking. Meaning, I set things like episode.title and that never makes it into the plex interface. Here is my (super messy just-trying-to-make-it-work) code:
I see all the debug logs with valid information, but never see the actual values updated in the UI. The library is set as a TV type, with my agent as the one and only metadata agent.
Here is a log snippet at the end of a refresh run:
and this is the serialized data on disk:
As you can see, the serialized version has none of the episode information inside, but I don’t know why. My code has the @parallelize stuff in it, not because I want it, but because I added it while trying to figure out why it wasn’t working, as if that was somehow required. Adding it in changed nothing, other than the ordering of the logs and such.
Can somebody help?
Thanks!
–Dan