Release plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners
(2019-12-29, 23:21)jurialmunkey Wrote: @bsoriano - try this:
Code:
<visible>[Container(90050).IsUpdating | Integer.IsGreater(Container(90050).NumItems,0)] + String.IsEmpty(Window(Home).Property(TMDbHelper.IsUpdating)) + !String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Cast.1.Name))</visible>


Why don't you just use the Cast plugin path though?
<content>$VAR[TMDb_Cast]</content>
xml:

<variable name="TMDb_Cast">
<value condition="String.IsEqual(ListItem.DBType,movie) + !String.IsEmpty(ListItem.IMDBNumber) + String.StartsWith(ListItem.IMDBNumber,tt)">plugin://plugin.video.themoviedb.helper?info=cast&amp;type=movie&amp;imdb_id=$INFO[ListItem.IMDBNumber]</value>
<value condition="String.IsEqual(ListItem.DBType,movie)">plugin://plugin.video.themoviedb.helper?info=cast&amp;type=movie&amp;query=$INFO[ListItem.Title]</value>
<value condition="String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,tvshow)">plugin://plugin.video.themoviedb.helper?info=cast&amp;type=tv&amp;query=$INFO[ListItem.TvShowTitle]</value>
</variable>

@jurialmunkey, thank you! I had not thought of the plugin path for cast. If I do that, then the visibility condition would be just numitems > 0 or isupdating, correct?

Thanks again.

Regards,

Bart

EDIT: @jurialmunkey , using the cast plugin path works well, but it seems the plugin does not fill listitem.label2 for the character/role.  What is the property where the plugin stores the character/role for the cast?
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-12-30, 01:07
Logout Mark Read Team Forum Stats Members Help
plugin.video.themoviedb.helper - Access to TheMovieDb API for Skinners2