diff options
author | enen92 <92enen@gmail.com> | 2023-12-18 11:33:59 +0000 |
---|---|---|
committer | Miguel Borges de Freitas <92enen@gmail.com> | 2023-12-18 22:33:59 +0000 |
commit | 074727b4c36193a6100c895fed7c08d0ac9b688a (patch) | |
tree | b032589e90c2be67f20eb6f962476db4823f28f6 /addons/skin.estuary | |
parent | fb209d386842d14777375079c2fed010a914879a (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.xml | 2 |
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" /> |