Kodi Community Forum

Full Version: quick question about <visible> tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
so,

will this:

<visible>Skin.HasSetting(mainmenu_1)+Skin.HasSetting(mainmenu_2)+Skin.HasSetting(mainmenu_3)</visible>

work the same way as using

<visible>Skin.HasSetting(mainmenu_1)</visible>
<visible>Skin.HasSetting(mainmenu_2)</visible>
<visible>Skin.HasSetting(mainmenu_3)</visible>


or is there a difference (functionality, speed-wise, you name it) ?

which of them should be preferrable?
They're effectively identical. The only difference is the second adds brackets around the expressions, which I could perhaps add a very slight overhead (I can't recall offhand how the reverse polish thing works).
thanks, jonathan.

i kept the example simple for a reason. my real intention was to find out if a really long line of conditions has an impact in working for a skin like
<visible>this+that+this+something+someother+blah+blubb+bleeeh+more+haha+lookatmei'macondidtion+iwanttobreakfree+azidorocks+so+on</visible>
especially if there are many of them in a kinda big xml.

jmarshall Wrote:(I can't recall offhand how the reverse polish thing works).

i have to admit that, although in general my english is really good: i don't understand this phrase. Even when i use google to translate.. Rolleyes can you explain?