2018-07-11, 07:20
this is how to add extra menus home.xml
find menu_id
<item>
<label>$LOCALIZE[20343]</label>
<onclick condition="Library.HasContent(tvshows) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://tvshows/,return)</onclick>
<onclick condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://tvshows/titles/,return)</onclick>
<onclick condition="!Library.HasContent(tvshows)">ActivateWindow(Videos,sources://video/,return)</onclick>
<property name="menu_id">$NUMBER[6000]</property>
<thumb>icons/sidemenu/tv.png</thumb>
<property name="id">tvshows</property>
<visible>!Skin.HasSetting(HomeMenuNoTVShowButton)</visible>
</item>
and add <label></label> name of menu
<onclick> path of files (or add to favourites and copy from favourites file)
<property name="menu_id">$NUMBER[22000]</property> this need to be the same as <control type="group" id="22000">
<property name="id"> name of menu
----------------------------------------------------------------------------
<label>Blu-Ray</label>
<onclick>ActivateWindow(10025,"E:\\Blu-Ray\\",return)</onclick>
<property name="menu_id">$NUMBER[22000]</property>
<thumb>icons/sidemenu/blu-ray.png</thumb>
<property name="id">Blu-Ray</property>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
</item>
--------------------------------------------------------------------------
add this after addons
control type="group" id=" set this higher then 21000 and all need to be numbered
for WidgetListPoster you will need to make playlists and copy to theme playlist
-------------------------------------------------------------------------------------------------
<!---blu-ray -->
<control type="group" id="22000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),Blu-Ray)</visible>
<include content="Visible_Right_Delayed">
<param name="id" value="Blu-Ray"/>
</include>
<control type="grouplist" id="22001">
<include>WidgetGroupListCommon</include>
<pagecontrol>22010</pagecontrol>
<include content="WidgetListCategories">
<param name="content_path" value="library://video/movies/"/>
<param name="widget_header" value="$LOCALIZE[31148]"/>
<param name="widget_target" value="movies"/>
<param name="list_id" value="22900"/>
</include>
<include content="WidgetListPoster">
<param name="content_path" value="special://skin/playlists/bluray.xsp"/>
<param name="widget_header" value="Blu-Ray"/>
<param name="widget_target" value="video"/>
<param name="list_id" value="22100"/>
</include>
<include content="WidgetListPoster">
<param name="content_path" value="special://skin/playlists/random_br.xsp"/>
<param name="widget_header" value="Random Blurays"/>
<param name="widget_target" value="video"/>
<param name="list_id" value="22200"/>
</include>
</control>
<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
<param name="scrollbar_id" value="22010"/>
</include>
</control>
<!---blu-ray -->
my home.xml for help
https://nofile.io/f/MzfaSpUo9bH/Home.xml
find menu_id
<item>
<label>$LOCALIZE[20343]</label>
<onclick condition="Library.HasContent(tvshows) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://tvshows/,return)</onclick>
<onclick condition="Library.HasContent(tvshows) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://tvshows/titles/,return)</onclick>
<onclick condition="!Library.HasContent(tvshows)">ActivateWindow(Videos,sources://video/,return)</onclick>
<property name="menu_id">$NUMBER[6000]</property>
<thumb>icons/sidemenu/tv.png</thumb>
<property name="id">tvshows</property>
<visible>!Skin.HasSetting(HomeMenuNoTVShowButton)</visible>
</item>
and add <label></label> name of menu
<onclick> path of files (or add to favourites and copy from favourites file)
<property name="menu_id">$NUMBER[22000]</property> this need to be the same as <control type="group" id="22000">
<property name="id"> name of menu
----------------------------------------------------------------------------
<label>Blu-Ray</label>
<onclick>ActivateWindow(10025,"E:\\Blu-Ray\\",return)</onclick>
<property name="menu_id">$NUMBER[22000]</property>
<thumb>icons/sidemenu/blu-ray.png</thumb>
<property name="id">Blu-Ray</property>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
</item>
--------------------------------------------------------------------------
add this after addons
control type="group" id=" set this higher then 21000 and all need to be numbered
for WidgetListPoster you will need to make playlists and copy to theme playlist
-------------------------------------------------------------------------------------------------
<!---blu-ray -->
<control type="group" id="22000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),Blu-Ray)</visible>
<include content="Visible_Right_Delayed">
<param name="id" value="Blu-Ray"/>
</include>
<control type="grouplist" id="22001">
<include>WidgetGroupListCommon</include>
<pagecontrol>22010</pagecontrol>
<include content="WidgetListCategories">
<param name="content_path" value="library://video/movies/"/>
<param name="widget_header" value="$LOCALIZE[31148]"/>
<param name="widget_target" value="movies"/>
<param name="list_id" value="22900"/>
</include>
<include content="WidgetListPoster">
<param name="content_path" value="special://skin/playlists/bluray.xsp"/>
<param name="widget_header" value="Blu-Ray"/>
<param name="widget_target" value="video"/>
<param name="list_id" value="22100"/>
</include>
<include content="WidgetListPoster">
<param name="content_path" value="special://skin/playlists/random_br.xsp"/>
<param name="widget_header" value="Random Blurays"/>
<param name="widget_target" value="video"/>
<param name="list_id" value="22200"/>
</include>
</control>
<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
<param name="scrollbar_id" value="22010"/>
</include>
</control>
<!---blu-ray -->
my home.xml for help
https://nofile.io/f/MzfaSpUo9bH/Home.xml