2020-05-24, 12:45
Hi, I have a problem with the use of variables
I want to have the fanart of a container
I have the id container in a variable FanartTest
If i do this, it's doesn't work , i have no fanart
But if i do this, it works fine
I don't understand the probleme, thanks to help me
I want to have the fanart of a container
Code:
<include name="HomeTest">
<param name="visible">true</param>
<param name="container_id"></param>
<definition>
...
<texture background="true">INFO[Container($PARAM[container_id]).ListItem.art(fanart)]</texture>
...
</definition>
</include>
I have the id container in a variable FanartTest
Code:
<variable name="FanartTest">
<value>5300</value>
</variable>
If i do this, it's doesn't work , i have no fanart
Code:
<include content="HomeKodroid">
<param name="container_id">$VAR[FanartTest]</param>
</include>
But if i do this, it works fine
Code:
<include content="HomeKodroid">
<param name="container_id">5300</param>
</include>