2019-12-29, 23:21
@bsoriano - try this:
Why don't you just use the Cast plugin path though?
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&type=movie&imdb_id=$INFO[ListItem.IMDBNumber]</value>
<value condition="String.IsEqual(ListItem.DBType,movie)">plugin://plugin.video.themoviedb.helper?info=cast&type=movie&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&type=tv&query=$INFO[ListItem.TvShowTitle]</value>
</variable>