(2018-04-29, 13:20)the_other_guy Wrote: best you can do is add a row in movies
306688 (thread)
this can de done on 18 ?17
first create a play list
it will be saved in kodi \AppData\Roaming\Kodi\userdata
you will need to copy this to theme \playlists
this is an example of Blu-ray <value>your:\path\</value>
bluray.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>bluray</name>
<match>all</match>
<rule field="path" operator="contains">
<value>E:\Blu-Ray\</value>
</rule>
</smartplaylist>
now edit home.xml
find
<item>
<label>$LOCALIZE[342]</label>
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/,return)</onclick>
<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/titles/,return)</onclick>
<onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,sources://video/,return)</onclick>
<property name="menu_id">$NUMBER[5000]</property>
<thumb>icons/sidemenu/movies.png</thumb>
<property name="id">movies</property>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
</item>
NOW add this
<item>
<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>
then for the widget screen find
<control type="group" id="11000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),video)</visible>
AND paste above the <control type="group" id="11000">
<!---blu-ray -->
<control type="group" id="22000">
<control type="image">
<left>0</left>
<right>0</right>
<top>0</top>
<height>100%</height>
<fadetime>300</fadetime>
<texture border="2" fallback="special://skin/extras/home-images/movie1.jpg" background="true">$VAR[FanartImageVar]</texture>
<aspectratio align="center" aligny="bottom">scale</aspectratio>
</control>
<control type="label">
<left>604</left>
<top>50</top>
<height>0</height>
<width>0</width>
<fadetime>300</fadetime>
<aligny>center</aligny>
<font>font37B</font>
<label>Blu-Ray</label>
<shadowcolor>black</shadowcolor>
</control>
<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 -->