HOW TO - Modify Estuary my input - the_other_guy - 2023-02-01
this mod is to add another menu with content
content is where you add the posters
1. pick number eg. 35000
2. pick name eg. demo
this bit can go after
<control type="group" id="21000">
you will see 2 </control> you put it between them
</control>
</control>
xml:
<control type="group" id="35000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),demo)</visible>
<include content="Visible_Right_Delayed">
<param name="id" value="demo"/>
</include>
<control type="grouplist" id="35001">
<include>WidgetGroupListCommon</include>
<pagecontrol>35010</pagecontrol>
<!-- your content will go here -->
</control>
<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
<param name="scrollbar_id" value="35010"/>
</include>
</control>
now menu this can be placed between </item> <item>
xml:
<item>
<label>demo</label>
<property name="menu_id">$NUMBER[35000]</property>
<onclick>ActivateWindow(Videos,sources://video/,return)</onclick>
<thumb>icons/sidemenu/movies.png</thumb>
<property name="id">demo</property>
</item>
xml:
<control type="group" id="35000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),demo)</visible>
<include content="Visible_Right_Delayed">
<param name="id" value="demo"/>
</include>
<control type="grouplist" id="35001">
<include>WidgetGroupListCommon</include>
<pagecontrol>35010</pagecontrol>
<!-- your content will go here -->
<include content="WidgetListPoster" condition="Library.HasContent(movies)">
<param name="content_path" value="special://skin/playlists/inprogress_movies.xsp"/>
<param name="widget_header" value="$LOCALIZE[31010]"/>
<param name="widget_target" value="videos"/>
<param name="list_id" value="35100"/> <!-- this is the number you picked-->
</include>
</control>
<include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
<param name="scrollbar_id" value="35010"/>
</include>
</control>
RE: HOW TO - Modify Estuary my input - the_other_guy - 2023-02-01
using smart play list for content
create smart play list to make it easy add to favourites (edit favourites.xml look for ActivateWindow(10025,"special://profile/playlists/video/carryon.xsp",return))
copy from special: .xsp
xml:
<include content="WidgetListPoster" condition="Library.HasContent(movies)">
<param name="content_path" value="special://profile/playlists/video/carryon.xsp"/>
<param name="widget_header" value="Carry on"/><!-- NAME -->
<param name="widget_target" value="videos"/>
<param name="list_id" value="35100"/> <!-- this is your number -->
</include>
RE: HOW TO - Modify Estuary my input - the_other_guy - 2023-02-01
Home menu decrease poster size
view 54
they will all look the same with <!-- box --> the background image <!-- frame --> focused and <!-- InfoWallThumb -->
xml: <include name="InfoWallMusicLayout">
<param name="fallback_image">DefaultFolder.png</param>
<param name="main_label">$INFO[ListItem.Artist]</param>
<param name="sub_label">$INFO[ListItem.Title]</param>
<param name="single_label">$INFO[ListItem.Label]</param>
<param name="focused">false</param>
<definition>
<!-- box -->
<control type="image">
<top>0</top>
<left>0</left>
<width>250</width>
<height>300</height>
<texture>dialogs/dialog-bg-nobo.png</texture>
<bordertexture border="21">overlays/shadow.png</bordertexture>
<bordersize>20</bordersize>
</control>
<!-- frame -->
<control type="image">
<top>0</top>
<left>0</left>
<width>250</width>
<height>300</height>
<texture colordiffuse="button_focus">colors/grey.png</texture>
<bordertexture border="21">overlays/shadow.png</bordertexture>
<bordersize>20</bordersize>
<visible>$PARAM[focused]</visible>
<include condition="$PARAM[focused]">Animation_FocusTextureFade</include>
</control>
<!-- InfoWallThumb -->
<control type="image">
<left>0</left>
<top>25</top>
<width>250</width>
<height>250</height>
<texture fallback="$PARAM[fallback_image]" background="true">$VAR[InfoWallThumbVar]</texture>
<aspectratio>keep</aspectratio>
<bordersize>20</bordersize>
</control>
<!-- text -->
<control type="textbox">
<left>0</left>
<top>225</top>
<width>240</width>
<height>80</height>
<font>font12</font>
<align>center</align>
<aligny>center</aligny>
<label>$PARAM[single_label]</label>
<visible>!String.IsEqual(ListItem.DBType,album)</visible>
</control>
<!-- top text -->
Includes_Home.xml
<itemlayout width="206" height="386">
<focusedlayout width="206" height="386">
xml: <include name="WidgetListPoster">
<definition>
<include content="CategoryLabel">
<param name="label">$PARAM[widget_header]</param>
<param name="list_id" value="$PARAM[list_id]"/>
</include>
<include content="BusyListSpinner">
<param name="list_id" value="$PARAM[list_id]"/>
<param name="posy" value="250"/>
</include>
<control type="panel" id="$PARAM[list_id]">
<left>0</left>
<top>60</top>
<visible>Integer.IsGreater(Container($PARAM[list_id]).NumItems,0) | Container($PARAM[list_id]).IsUpdating</visible>
<right>0</right>
<height>330</height>
<include content="WidgetListCommon">
<param name="list_id" value="$PARAM[list_id]"/>
</include>
<itemlayout width="206" height="386">
<control type="group">
<left>68</left>
<top>10</top>
<include content="InfoWallMovieLayout">
<param name="focused" value="false" />
</include>
</control>
</itemlayout>
<focusedlayout width="206" height="386">
<control type="group">
<depth>DepthContentPopout</depth>
<left>68</left>
<top>10</top>
<animation type="Focus">
<effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="230,130" />
</animation>
<animation type="Unfocus">
<effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="230,130" />
</animation>
<include content="InfoWallMovieLayout">
<param name="focused" value="true" />
</include>
</control>
</focusedlayout>
<content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="15">$PARAM[content_path]</content>
</control>
</definition>
</include>
RE: HOW TO - Modify Estuary my input - the_other_guy - 2023-02-01
changing images with out unpacking Textures.xbt
make a new folder in media and link to folder
xml:
<item>
<label>$LOCALIZE[342]</label>
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget) + !System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://movies/,return)</onclick>
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget) + System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://movies/titles/,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>myicons/movies.png</thumb>
<property name="id">movies</property>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
</item>
<item>
<label>$LOCALIZE[20343]</label>
<onclick condition="Library.HasContent(tvshows) + Skin.HasSetting(home_no_categories_widget) + !System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://tvshows/,return)</onclick>
<onclick condition="Library.HasContent(tvshows) + Skin.HasSetting(home_no_categories_widget) + System.GetBool(myvideos.flatten)">ActivateWindow(Videos,videodb://tvshows/titles/,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>myicons/tv.png</thumb>
<property name="id">tvshows</property>
<visible>!Skin.HasSetting(HomeMenuNoTVShowButton)</visible>
</item>
RE: HOW TO - Modify Estuary my input - the_other_guy - 2023-02-04
add your playlist
xml:
<include content="WidgetListSquare" >
<param name="content_path" value="special://profile/playlists/video/"/>
<param name="widget_header" value="playlist"/><!-- NAME -->
<param name="widget_target" value="videos"/>
<param name="list_id" value="35100"/> <!-- this is your number -->
</include>
|