I'm working with the AvalonRestAgent.bundle and trying to modify it to set the poster of a media item. However, my attempts have been stalled.
What I've done
In my utils.py I created a method called set_metadata_posters which basically looks for the "posters" section of the sample-response.json.I added a reference to it in movie.py and finally added a call to set_metadata_posters . You can see the entire gist here
What Happens
When I match the data, the logs show that it's retrieving the posters JSON and even logs then "New poster added: {url}". But no movie poster appears in Plex.
Question
I've looked at other Agents to try and determine what I'm doing differently, but can't figure it out. Any ideas?