2014-02-10, 14:18
2014-02-10, 14:21
sure, for groups it works 100%... never tried it for includes but I see no reason why it wouldn't
2014-02-11, 04:39
Includes simply drop the XML in the include inline into wherever the include is drawn from - XBMC only sees the complete XML. Thus, it'll work identically.
2014-02-11, 07:48
What am I doing wrong in this then?
Code:
<include condition="Container.Content(tvshows)">TV_Shows_banner</include>
2014-02-11, 09:05
The container content isn't know when the window loads.
2014-02-12, 00:23
I'm still struggling with all of this
How would I make different controls come up for different contents?
Do I have to make a visibility condition for every control?
How would I make different controls come up for different contents?
Do I have to make a visibility condition for every control?
2014-02-12, 20:58
PHP Code:
<control type="list" id="50">
<visible>Container.Content(movies)</visible>
[...]
</control>
<control type="list" id="51">
<visible>Container.Content(tvshows)</visible>
[...]
</control>
or
PHP Code:
<control type="list" id="50">
[...]
<itemlayout condition="Container.Content(movies)">
</itemlayout>
<itemlayout condition="Container.Content(tvshows)">
</itemlayout>
<focusedlayout condition="Container.Content(movies)">
</focusedlayout >
< focusedlayout condition="Container.Content(tvshows)">
</focusedlayout >
</control>