Kodi Community Forum

Full Version: V15 Listitem.Label2 (Actors role) issue?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Do I need anything specific for Listitem.Label 2 in connection for actor's role? I've attempted a straight update of DialogVideoInfo but it seems the value is empty or doesn't exist?

Any ideas? as ListItem.Label is correct with the Actors name i ok?
How are you trying to display it? In the list ID 50 or outside?
@Mike_Doc please open separate topics for questions. This thread should stay clean.
Hi,

Trying to make the skin I use Isengard compliant and updating the DialogVideoInfo due to this change:

2015-02-03 DialogVideoInfo.xml - cast changes

in the container with id="50" (the cast list), the name of the actor and role (s)he's playing have been split to two separate labels:
- ListItem.Label (actor name)
- ListItem.Label2 (actor role)

But I presume I'm not doing it correctly as it's not working. I don't think I'm in list 50 (Thanks for asking Hitcher) as the container it is in has id="900" but I don't know what list "50" really means!! Sorry.

The existing code snippet is:

Code:
<control type="textbox">
        <width>190</width>
        <left>31</left>
        <height>48</height>
        <top>225</top>
        <align>center</align>
        <font>Font_Reg22</font>
        <info>ListItem.Label</info>
    </control>

which I've attempted to change to one either of the labels in the next snippet:

Code:
<control type="textbox">
        <width>190</width>
        <left>31</left>
        <height>48</height>
        <top>225</top>
        <align>center</align>
        <font>Font_Reg22</font>
        <label>$INFO[ListItem.Label]$INFO[ListItem.Property(character), as ,]</label>
        <!--label>$INFO[ListItem.Label][CR]$INFO[ListItem.Label2]</label-->
    </control>

Neither of these work as nothing is displayed

So what have I got wrong this time?

Mike.
You'll need to add the list ID 50 for the actors labels to get filled by Kodi. If you're not actaully using that list itself then hide it and grab the label using the following method.

PHP Code:
<label>$INFO[Container(50).ListItem.Label]$INFO[Container(50).ListItem.Label2$LOCALIZE[20347] ,]</label
Thanks Hitcher,

But I have no idea what you mean when saying hide it.. I'll go see if I can find something in the wiki / Skinning manual.

Mike.
http://kodi.wiki/view/List_of_Built_In_C...eoInfo.xml

Which skin are you modifying?

This will do -

Code:
<control id="50" type="list" />
Thank you again, I'm using my own updated version of Aeon Shednox, which is a mod of Aeon Nox.

I tried that in DialogVideoInfo, but nothing and probably in the wrong place. I have a standard / skim mod version of DialogVideoInfo.xml and I've added an option in extras to run Extendedinfo and that has the relevant info. Plan to update properly to extendedinfo but using how to use that just puzzles me at the moment!

Mike.
@ronie it's hard to follow the skin changes if users use this thread for discussion. should we better lock this thread and remove all unrelated comments?
He normally cleans it up. Wink