How to not show header labels in different collections?
#1
</control>
                <control type="label">
                    <aligny>top</aligny>
                    <align>center</align>
                    <font>font_tiny</font>
                    <textcolor>main_fg_100</textcolor>
<label>$INFO[ListItem.Duration(hh)]h $INFO[ListItem.Duration(mm)]min | Ends at $INFO[ListItem.EndTime]</label>
                    <height>40</height>
                ListItem.IsCollection
                </control>


I have the following code show in the header of 'my' Skin (AZ2), but I want it to not show in my TV shows/series collection (since they don't have a tagline anyway). How can I go and do this?
Reply
#2
Not sure if I understand correctly as there's not much info provided where this is shown. But probably the Container.Content(parameter) combined with a <visible>-condition might help. See:

https://kodi.wiki/view/List_of_boolean_c...#Container
Reply
#3
Thanks, that did the trick Smile
Reply
#4
https://kodi.wiki/view/Conditional_visibility

read a theme
<visible>![Window.IsActive(MyPVRChannels.xml) | Window.IsActive(MyPVRTimers.xml) | Window.IsActive(MyPVRRecordings.xml) | Window.IsActive(MyPVRSearch.xml)]</visible>
on or off is done with  !
    <include content="WidgetListCategories"  condition="!Skin.HasSetting(movies-row1)+ Skin.HasSetting(movies-WidgetList-row1) + Skin.HasSetting(movieswidget_1_Categories_Square)">
Reply

Logout Mark Read Team Forum Stats Members Help
How to not show header labels in different collections?0