EpisodeObject rating_key Cant be set

Looks like a bug in EpisodeObject Implementation
I am trying to create an episode object in a plugin.

eps = EpisodeObject(<br />
    title = "some title",<br />
    rating = 1.0,<br />
    key = Callback(stub),<br />
    rating_key = id<br />
) <--- Doesn't work :(<br />


I get the following error:

FrameworkException: The ‘rating_key’ attribute is inaccessible from model interfaces.



The same exact code with MovieObject Works perfectly, seems like a bug to me since the documentation is the same for both objects.


eps = MovieObject(<br />
    title = "some title",<br />
    rating = 1.0,<br />
    key = Callback(stub),<br />
    rating_key = id<br />
) <--- This works!



PS: If i use a service URL it works but that adds unnecessary calls to the WebSite that i can avoid from the plugin.

You might want to retest this. I previously reported the same issue and validate a fix in the beta framework. It might have already been released…

It hasn’t been released yet, but is due out within the next few days :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.