Kodi Community Forum

Full Version: Control.GetLabel(id) in List container
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The function Control.GetLabel doesn't return the label if you put it in a list container.

Code:
<control type="label">
          <posx>0</posx>
          <posy>0</posy>
          <width>280</width>
          <textcolor>white</textcolor>
          <label>$INFO[Control.GetLabel(54321)]</label>
          <font>Font_Bold28</font>
        </control>

Above control returns the value of label control 54321 when it's put outside the list, but not when I put it in the list. Is there some logic I'm missing or is this just a bug?
It's not meant to work in lists but you can use static lists and fill their content items with Control.GetLabel's.