2020-05-25, 12:59
Can't use skin variables as a value like that.
You need to do
$INFO and $VAR evaluate at the same time, so you can't use one as part of the name of the other. To Kodi it looks like you are literally trying to ask for Container("$VAR[FanartTest]")
You can use $PARAM to replace values because $PARAM evaluates at window load with includes, whereas $INFO and $VAR evaluate after the window loads.
You need to do
Code:
<variable name="FanartTest">
<value>$INFO[Container(5300).ListItem.Art(fanart)]</value>
</variable>
[...]
<control type="image">
<texture>$VAR[FanartTest]</texture>
</control>
$INFO and $VAR evaluate at the same time, so you can't use one as part of the name of the other. To Kodi it looks like you are literally trying to ask for Container("$VAR[FanartTest]")
You can use $PARAM to replace values because $PARAM evaluates at window load with includes, whereas $INFO and $VAR evaluate after the window loads.