Kodi Community Forum
Background loader question - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Background loader question (/showthread.php?tid=263266)



Background loader question - sualfred - 2016-03-07

Just a small question to our Kodi devs or someone else who could answer it, because I dunno how to check if this will work:

Code:
<variable name="ImageLoader">
<value condition="StringCompare(foo,bar)">true</value>
<value>false</value>
</variable>

Code:
<control type="image">
...
<texture background="$VAR[ImageLoader]">largeimage.png</texture>
..
</control>



RE: Background loader question - sualfred - 2016-03-07

Okay, seems not to work.


RE: Background loader question - tomer953 - 2016-03-08

Try with PARAM, it should work.

Anyway, why not leave it always "true" if its large image?


RE: Background loader question - sualfred - 2016-03-08

Yep, I know. Just wanted to know Smile

Thought a speed penalty was caused by the background loading tag of dozens artworks on slow devices, but the issue seems to be solved by a miracle. So I use true on all artworks again.