Kodi Community Forum
v18 The $VAR[..] variable as the "fallback" parameter in the image control. - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
--- Thread: v18 The $VAR[..] variable as the "fallback" parameter in the image control. (/showthread.php?tid=342635)



The $VAR[..] variable as the "fallback" parameter in the image control. - JohnyBee - 2019-04-01

Can I put the variable "$VAR [...]" into a fallback for image control?
Working code:
<texture background="true" fallback="flags/stars/flat/0.0.png">graf.png</texture>
If I create the variable $VAR[ZZZZ]=flags/stars/flat/ (this is the description no code) then this code does not work for me.
<texture background="true" fallback ="$VAR[ZZZZ,,0.0.png]">graf.png</texture>
The variable is correctly defined and the graphic in the path exists.

Is Kodi able to work with variables in the fallback parameter controls?
JB


RE: The $VAR[..] variable as the "fallback" parameter in the image control. - Hitcher - 2019-04-01

No, just use them for the actual image itself.


RE: The $VAR[..] variable as the "fallback" parameter in the image control. - JohnyBee - 2019-04-02

(2019-04-01, 15:45)Hitcher Wrote: No, just use them for the actual image itself.
Thanks for your help.
JB