aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorksooo <3226626+ksooo@users.noreply.github.com>2023-09-23 22:21:04 +0200
committerksooo <3226626+ksooo@users.noreply.github.com>2023-09-24 21:47:59 +0200
commit5c9afe3990ab481825d36f1ed63af418ff3d2d82 (patch)
tree6aed6e54fcf58804da28ad9a3cea441e72853347 /addons
parentbddd6960f0588c74986c2a22d3fa6db2be182e4e (diff)
[listproviders] Add attribute 'browse' to give skinners the possibility to control the 'more' button for a list.
Diffstat (limited to 'addons')
-rw-r--r--addons/skin.estuary/xml/Home.xml5
-rw-r--r--addons/skin.estuary/xml/Includes_Home.xml15
2 files changed, 15 insertions, 5 deletions
diff --git a/addons/skin.estuary/xml/Home.xml b/addons/skin.estuary/xml/Home.xml
index cf89675000..66eab452da 100644
--- a/addons/skin.estuary/xml/Home.xml
+++ b/addons/skin.estuary/xml/Home.xml
@@ -80,6 +80,7 @@
<param name="content_path" value="special://skin/playlists/random_movies.xsp"/>
<param name="widget_header" value="$LOCALIZE[31006]"/>
<param name="widget_target" value="videos"/>
+ <param name="browse_mode" value="never"/>
<param name="list_id" value="5400"/>
</include>
<include content="WidgetListCategories" condition="Library.HasContent(movies)">
@@ -214,6 +215,7 @@
<param name="content_path" value="special://skin/playlists/random_albums.xsp"/>
<param name="widget_header" value="$LOCALIZE[31012]"/>
<param name="widget_target" value="music"/>
+ <param name="browse_mode" value="never"/>
<param name="list_id" value="7300"/>
<param name="fallback_icon" value="DefaultMusicAlbums.png"/>
<param name="onclick_condition" value="true"/>
@@ -223,6 +225,7 @@
<param name="content_path" value="special://skin/playlists/random_artists.xsp"/>
<param name="widget_header" value="$LOCALIZE[31013]"/>
<param name="widget_target" value="music"/>
+ <param name="browse_mode" value="never"/>
<param name="list_id" value="7400"/>
<param name="fallback_icon" value="DefaultMusicArtists.png"/>
</include>
@@ -739,6 +742,7 @@
<param name="content_path" value="special://skin/playlists/random_musicvideo_artists.xsp"/>
<param name="widget_header" value="$LOCALIZE[31013]"/>
<param name="widget_target" value="music"/>
+ <param name="browse_mode" value="never"/>
<param name="list_id" value="16200"/>
<param name="widget_limit" value="10"/>
</include>
@@ -756,6 +760,7 @@
<param name="content_path" value="special://skin/playlists/random_musicvideos.xsp"/>
<param name="widget_header" value="$LOCALIZE[31152]"/>
<param name="widget_target" value="videos"/>
+ <param name="browse_mode" value="never"/>
<param name="fallback_image" value="DefaultMusicSongs.png" />
<param name="list_id" value="16500"/>
</include>
diff --git a/addons/skin.estuary/xml/Includes_Home.xml b/addons/skin.estuary/xml/Includes_Home.xml
index 7924a46f0e..753e184082 100644
--- a/addons/skin.estuary/xml/Includes_Home.xml
+++ b/addons/skin.estuary/xml/Includes_Home.xml
@@ -27,6 +27,7 @@
</include>
<include name="WidgetListPoster">
<param name="onclick_condition">false</param>
+ <param name="browse_mode">auto</param>
<definition>
<include content="CategoryLabel">
<param name="label">$PARAM[widget_header]</param>
@@ -71,7 +72,7 @@
</include>
</control>
</focusedlayout>
- <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="15">$PARAM[content_path]</content>
+ <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="15" browse="$PARAM[browse_mode]">$PARAM[content_path]</content>
</control>
</definition>
</include>
@@ -154,6 +155,7 @@
<param name="visible">True</param>
<param name="sortorder">ascending</param>
<param name="widget_limit">15</param>
+ <param name="browse_mode">auto</param>
<definition>
<include content="CategoryLabel">
<param name="label">$PARAM[widget_header]</param>
@@ -204,7 +206,7 @@
</include>
</control>
</focusedlayout>
- <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[widget_limit]">$PARAM[content_path]</content>
+ <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[widget_limit]" browse="$PARAM[browse_mode]">$PARAM[content_path]</content>
</control>
</definition>
</include>
@@ -216,6 +218,7 @@
<param name="widget_limit">15</param>
<param name="fallback_icon">DefaultAudio.png</param>
<param name="onclick_condition">false</param>
+ <param name="browse_mode">auto</param>
<definition>
<include content="CategoryLabel">
<param name="label">$PARAM[widget_header]</param>
@@ -267,7 +270,7 @@
</include>
</control>
</focusedlayout>
- <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[widget_limit]">$PARAM[content_path]</content>
+ <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[widget_limit]" browse="$PARAM[browse_mode]">$PARAM[content_path]</content>
</control>
</definition>
</include>
@@ -278,6 +281,7 @@
<param name="additional_movie_items">false</param>
<param name="additional_tvshow_items">false</param>
<param name="visible">true</param>
+ <param name="browse">auto</param>
<definition>
<include content="CategoryLabel">
<param name="label">$PARAM[widget_header]</param>
@@ -374,7 +378,7 @@
</control>
</control>
</focusedlayout>
- <content target="$PARAM[widget_target]" limit="$PARAM[item_limit]">$PARAM[content_path]</content>
+ <content target="$PARAM[widget_target]" limit="$PARAM[item_limit]" browse="$PARAM[browse_mode]">$PARAM[content_path]</content>
<include condition="$PARAM[additional_movie_items]" content="MovieSubmenuItems" />
<include condition="$PARAM[additional_tvshow_items]" content="TVShowSubmenuItems" />
</control>
@@ -412,6 +416,7 @@
<param name="label">$INFO[ListItem.Label]</param>
<param name="label2">$INFO[ListItem.Title]</param>
<param name="info_update">0</param>
+ <param name="browse_mode">auto</param>
<definition>
<include content="CategoryLabel">
<param name="label">$PARAM[widget_header]</param>
@@ -616,7 +621,7 @@
</control>
</control>
</focusedlayout>
- <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[item_limit]">$PARAM[content_path]</content>
+ <content sortby="$PARAM[sortby]" sortorder="$PARAM[sortorder]" target="$PARAM[widget_target]" limit="$PARAM[item_limit]" browse="$PARAM[browse_mode]">$PARAM[content_path]</content>
</control>
</definition>
</include>