2022-11-28, 09:29
@evolnewy - Those properties are only added to the cast members if you have previously looked up the details for them (e.g. if the details were previously cached by the service monitor)
Those details don't come with main credits call from TMDb, so they need to be looked up individually per person. Since cast/crew lists can sometimes be 50+ people (or sometimes even 100+) it simply isn't feasible to do that many individual look-ups per list (it'd be massively slow) - which is why they only get added if already cached.
Best option to grab these is to use the service monitor for the focused item.
https://github.com/jurialmunkey/plugin.v...ce-Monitor
However, that won't work in the VideoPlayer (which sounds like what you're using). So instead you can use a hidden list to lookup the details. The example below uses id=8000 for the hidden list and assumes your cast list is in id=9000 but the actual IDs you use don't matter
Then you can get details about the focused cast member by referencing the hidden container
$INFO[Container(8000).ListItem.Property(age)]
Those details don't come with main credits call from TMDb, so they need to be looked up individually per person. Since cast/crew lists can sometimes be 50+ people (or sometimes even 100+) it simply isn't feasible to do that many individual look-ups per list (it'd be massively slow) - which is why they only get added if already cached.
Best option to grab these is to use the service monitor for the focused item.
https://github.com/jurialmunkey/plugin.v...ce-Monitor
However, that won't work in the VideoPlayer (which sounds like what you're using). So instead you can use a hidden list to lookup the details. The example below uses id=8000 for the hidden list and assumes your cast list is in id=9000 but the actual IDs you use don't matter
xml:
<control type="list" id="8000">
<left>-1920</left>
<width>1</width>
<height>1</height>
<orientation>vertical</orientation>
<itemlayout />
<focusedlayout />
<content>plugin://plugin.video.themoviedb.helper/?info=details&tmdb_type=person&tmdb_id=$INFO[Container(9000).ListItem.Property(tmdb_id)]</content>
<visible>!String.IsEmpty(Container(9000).ListItem.Property(tmdb_id))</visible>
</control>
Then you can get details about the focused cast member by referencing the hidden container
$INFO[Container(8000).ListItem.Property(age)]