I have another problem updating the summary and title of TV Show Episodes. From my logs I can see my updated Strings are persisted. But in the media server (via web browser) it only displays the values that were populated by my agent’s primary agent (TheTVDB)…
Any advice how to override those values?
metadata.seasons["1"].episodes["1"].title = "New Title"
doesn't seem to work. strangely it is the same way the other custom agents seem to do it.
Sorry, my bad. I wanted to say mine contributes to the primary TheTvDB Agent. As far as I understand it the primary is executed first and then the others in order I set in the PMS preferences.
Or am I completely off and it is not possible for 'non primary' Agents to change those attributes because they are not interpreted, or passed to that Agents TV_Show object in the first place.
Even when those attributes are set. In my script I set the title after I Log() the original. In the log I see the title for that episode comes out as 'None'. The next times I execute it prints the new title I set. So it gets persisted.
IIRC that is because in Python you can dynamically adjust objects. But as I said before those attributes don't seem to get interpreted...
So, what say you? Should I change my Agent to be a primary?