Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
Container(1450).ListItem.Label should work.
Posts: 485
Joined: Oct 2009
If your just looking for the studio logo with a text fallback, this comes close (movies / tvshows).
PHP Code:
<control type="group">
<width>198</width>
<control type="group">
<visible>!IntegerGreaterThan(Container(1450).NumItems,0)</visible>
<control type="image" id="800011">
<colordiffuse>grey</colordiffuse>
<width>198</width>
<include>MediaFlagVars</include>
<bordersize>2</bordersize>
<texture>$INFO[Container(550).ListItem(0).label,flags/studios/,.png]</texture>
</control>
<control type="label">
<left>0</left>
<width>198</width>
<height>90</height>
<align>center</align>
<label>$INFO[Container(550).ListItem(0).label]</label>
<font>font10</font>
<textcolor>grey</textcolor>
<wrapmultiline>true</wrapmultiline>
<visible>IsEmpty(Control.GetLabel(800011))</visible>
</control>
</control>
<control type="group">
<visible>IntegerGreaterThan(Container(1450).NumItems,0)</visible>
<control type="image" id="800012">
<colordiffuse>grey</colordiffuse>
<width>198</width>
<include>MediaFlagVars</include>
<bordersize>2</bordersize>
<texture>$INFO[Container(1450).ListItem(0).label,flags/studios/,.png]</texture>
</control>
<control type="label">
<left>0</left>
<width>198</width>
<height>90</height>
<align>center</align>
<label>$INFO[Container(1450).ListItem(0).label]</label>
<font>font10</font>
<textcolor>grey</textcolor>
<wrapmultiline>true</wrapmultiline>
<visible>IsEmpty(Control.GetLabel(800012))</visible>
</control>
</control>
</control>
Posts: 485
Joined: Oct 2009
Yea, no probs. The 'NumItems,0' logic should still do the trick, > than (tvshow (visible)) < (movie (not visible)). That's just my interpretation.
. But I'm not looking at your code, so who knows. Mix and match, you'll work it out.
Posts: 485
Joined: Oct 2009
Yep, I totally get where your coming from now. Ask phil65 for a update, nicely.
. I don't think that can be done with skin bools, but I would love to be proven wrong.