Posts: 17,391
Joined: Aug 2007
Reputation:
584
Hitcher
Team-Kodi Member
Posts: 17,391
According to the wiki it should show a 'concatenated string of cast members of the currently selected movie' when used in dialogvideoinfo.xml but all I can get it to show is one actor.
Broken?
Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
Works here. Put it in a textbox or use label with wrapmultiline true.
Posts: 3,956
Joined: Dec 2008
Reputation:
62
I see. Not very useful if it's formatted that way. This should be alternative to actors container and formatted as one liner IMHO
Posts: 17,391
Joined: Aug 2007
Reputation:
584
Hitcher
Team-Kodi Member
Posts: 17,391
Another label where we could do with different format options.
Certainly missing Jonathan and pieh.
Posts: 201
Joined: May 2010
Reputation:
4
I've started working on this, but I feel like Kodi's info system makes it kinda hard to pass a parameter to the cast tag. I'm still unsure about which route to take. I could separate the cast tag from the other listitems and handle it individually or I could add an additional parameter to a bunch of functions. I'm still looking for the third, pretty option.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Without actually having looked at the code I'd go with an additional parameter for the separator that's optional to keep backward compatibility.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 201
Joined: May 2010
Reputation:
4
Skins would be backwards compatible anyway. It's just that none of the solutions I've come up with so far are even close to what you'd call aesthetically pleasing. Then again, I still haven't fully figured out the depths of the info system. So this might just take a little while longer than I originally expected.
Posts: 28
Joined: Nov 2015
Reputation:
0
Hi,
I try to retrieve Cast name and put it in ViewsVideoLibrary.xml as I have Director name or writer.
I tried to put :
$INFO[Container(50).ListItem(0).Label]
replacing the writer name :
$INFO[ListItem.Writer]
But it does not work.
Thanks
Posts: 17,391
Joined: Aug 2007
Reputation:
584
Hitcher
Team-Kodi Member
Posts: 17,391
Only works for dialogvideoinfo.xml.
Posts: 28
Joined: Nov 2015
Reputation:
0
So there is no way to have the casts in ViewsVideoLibrary.xml, as we have other movie info when browsing movies?
Posts: 17,391
Joined: Aug 2007
Reputation:
584
Hitcher
Team-Kodi Member
Posts: 17,391
No, as it would slow down the listing because of the extra database queries.
Posts: 28
Joined: Nov 2015
Reputation:
0
Thanks Hitcher.
Do you know if I can do something (a trick) to have the casts displayed?
maybe loading a small dialogvideoinfo.xml with just the casts in a block in ViewsVideoLibrary.xml ?
Posts: 1,617
Joined: May 2014
Reputation:
130
Go check out the Skin.Helper add-on, it has a cast solution.
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation