aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary
diff options
context:
space:
mode:
authorenen92 <92enen@gmail.com>2023-12-18 11:33:59 +0000
committerMiguel Borges de Freitas <92enen@gmail.com>2023-12-18 22:33:59 +0000
commit074727b4c36193a6100c895fed7c08d0ac9b688a (patch)
treeb032589e90c2be67f20eb6f962476db4823f28f6 /addons/skin.estuary
parentfb209d386842d14777375079c2fed010a914879a (diff)
[Estuary] Hide next if conditions for next don't met
Diffstat (limited to 'addons/skin.estuary')
-rw-r--r--addons/skin.estuary/xml/Includes_MediaMenu.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/skin.estuary/xml/Includes_MediaMenu.xml b/addons/skin.estuary/xml/Includes_MediaMenu.xml
index 52a577ca45..8026b47765 100644
--- a/addons/skin.estuary/xml/Includes_MediaMenu.xml
+++ b/addons/skin.estuary/xml/Includes_MediaMenu.xml
@@ -239,6 +239,7 @@
<param name="control_id" value="14104" />
<param name="onclick" value="Next" />
<param name="icon" value="icons/now-playing/next.png" />
+ <param name="visible" value="Integer.IsLess(Playlist.Position(video), Playlist.Length(video)) | MusicPlayer.HasNext" />
</include>
<include content="IconButton">
<param name="control_id" value="14105" />
@@ -332,6 +333,7 @@
<param name="control_id" value="14104" />
<param name="onclick" value="PlayerControl(Next)" />
<param name="icon" value="icons/now-playing/next.png" />
+ <param name="visible" value="Integer.IsLess(Playlist.Position(video), Playlist.Length(video)) | MusicPlayer.HasNext" />
</include>
<include content="IconButton">
<param name="control_id" value="14105" />