2023-04-08, 08:58
I want to separate the favorite items as shown in the code below. Currently, all the favorite items I added are displayed without distinguishing between movies and TV shows, is it possible to separate this part?
I think the <param name="content_path" value="favourites://"/> part could be separated by the path to the movie or TVshow, is this possible?
**This code is my modification of the kodi default skin, estuary.**
I think the <param name="content_path" value="favourites://"/> part could be separated by the path to the movie or TVshow, is this possible?
**This code is my modification of the kodi default skin, estuary.**
xml:
<control type="group" id="14000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),favorites)</visible>
<include content="Visible_Right_Delayed">
<param name="id" value="favorites"/>
</include>
<control type="grouplist" id="1501">
<include>WidgetGroupListCommon</include>
<pagecontrol>5010</pagecontrol>
<include content="WidgetListPoster_favmovies" condition="Library.HasContent(movies)">
<param name="content_path" value="favourites://"/>
<param name="widget_header" value="favmovies"/>
<param name="widget_target" value="videos"/>
<param name="list_id" value="1510"/>
</include>
<include content="WidgetListPoster_favtvshows" condition="Library.HasContent(tvshows)">
<param name="content_path" value="favourites://"/>
<param name="widget_header" value="favtvshows"/>
<param name="widget_target" value="videos"/>
<param name="list_id" value="1520"/>
</include>
</control>
<include content="ImageWidget">
...SKIP
</include>
<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
<param name="scrollbar_id" value="14010"/>
</include>
</control>