Kodi Community Forum

Full Version: problem with conditional Include and different Content
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

i need 2 different Panel hight depending on content

default high and if content is Addon high


therefore i tought i do this via "conditional include"

Code:
<include condition="!Container.Content(Addons)">PanelHighMovies</include>
<include condition="Container.Content(Addons)">PanelHighAddons</include>

but this doesnt work (why?)

are there maybe other solutions?



(beside Coding the Panel twice and work with visibles of course)
Try "IsEmpty(Container.PluginName)"
nice one

guess i shuld thake a brake Confused


(still not shure why "Container.Content" doesnt work there?)
Maybe because once you enter an addon the container can be variable, eg. Movies, episodes etc.