Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
#95
(2019-08-13, 00:47)jurialmunkey Wrote: Include conditions are only evaluated when the window/dialog opens. In your case the tmdb_id in the detailed item doesn't exist when the dialog opens because the plugin hasn't loaded yet, so the associated includes are not "included" as the conditions are false. The second time around the plugin path has already loaded so the code is then included because the condition is true.

You would need to use visible conditions instead if you want something that is evaluated after the dialog opens.

Alternatively you could include based upon ListItem.Property(tmdb_id) of the actual widget because that will already be set from the widget item if its a widget from my plugin.
@jurialmunkey, thanks again! I changed the includes to be based on listitem.property(tmdb_id) like you suggested, and now it works Smile

Is there a performance difference in having the custom cast list be based on listitemabsolute(1).folderpath vs the individual items (listitemabsolute(1).property(cast.x.name), etc.)?

Again, thanks a lot for your help.

Regards,

Bart
Reply


Messages In This Thread
RE: TheMovieDB Helper - by jurialmunkey - 2019-07-31, 11:47
RE: plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners - by bsoriano - 2019-08-13, 01:31
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2