Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi
(2021-08-12, 21:35)tillaz87 Wrote: I have added this to the variables.xml that is included in the layibird skin.

xml:

<variable name="Custom_Age_Rating_AEL">
<value condition="String.IsEqual($INFO[ListItem.Property(esrb)],RP (Rating Pending))">[COLOR white]?[/COLOR]</value>
<value condition="String.IsEqual($INFO[ListItem.Property(esrb),EC (Early Childhood))">[COLOR green]3+[/COLOR]</value>
<value condition="String.IsEqual($INFO[ListItem.Property(esrb)],E (Everyone))">[COLOR green]7+[/COLOR]</value>
<value condition="String.IsEqual($INFO[ListItem.Property(esrb),E10+ (Everyone 10+))">[COLOR green]10+[/COLOR]</value>
<value condition="String.IsEqual($INFO[ListItem.Property(esrb),T (Teen))">[COLOR orange]12+[/COLOR]</value>
<value condition="String.IsEqual($INFO[ListItem.Property(esrb)],M (Mature))">[COLOR orange]16+[/COLOR]</value>
<value condition="String.IsEqual($INFO[ListItem.Property(esrb),A0 (Adults Only))">[COLOR red]18+[/COLOR]</value>
</variable>]

But what do I add to my control for this to work? I've tried a few things without luck after reading the Kodi skinning wiki.

Here is my control for the esrb what do I add to make this work?

xml:

<control type="label">
<left>1000</left>
<top>560</top>
<width>720</width>
<height>55</height>
<textcolor>FFFFFFFF</textcolor>
<font>font16</font>
<label>$INFO[ListItem.Year, • Released ,]$INFO[ListItem.Property(nplayers), • , Player]$INFO[ListItem.Property(esrb), • Age ,] •</label>
<scroll>false</scroll>
</control>

You need to call the variable with $VAR[Custom_Age_Rating_AEL] and not the infolabel

xml:

<control type="label">
<left>1000</left>
<top>560</top>
<width>720</width>
<height>55</height>
<textcolor>FFFFFFFF</textcolor>
<font>font16</font>
<label>$INFO[ListItem.Year, • Released ,]$INFO[ListItem.Property(nplayers), • , Player]$VAR[Custom_Age_Rating_AEL], • Age ,] •</label>
<scroll>false</scroll>
</control>
Reply


Messages In This Thread
Can You create A Sub Category? - by Wild_Tom - 2020-07-13, 04:43
Crash & Lost my launchers? - by eirrocmh - 2020-11-29, 02:25
RE: Crash & Lost my launchers? - by eirrocmh - 2020-12-19, 00:19
RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - by Wintermute0110 - 2021-08-13, 07:34
Logout Mark Read Team Forum Stats Members Help
Advanced Emulator Launcher - Multi-emulator frontend for Kodi12