Problem using variable in skinning
#1
Hi,  I have a problem with the use of variables

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>    
I don't understand the probleme, thanks to help me
Reply


Messages In This Thread
Problem using variable in skinning - by ipefix - 2020-05-24, 12:45
Logout Mark Read Team Forum Stats Members Help
Problem using variable in skinning0