aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary/xml/VideoOSD.xml
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2018-08-25 08:55:07 +0200
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2018-08-25 08:55:07 +0200
commit333b161b03c5bcb5dfad507f549984994ccca415 (patch)
tree7e1f494d2a5aceaa47d50256f1170c887fae35bb /addons/skin.estuary/xml/VideoOSD.xml
parent1c674710b527fe5b41ed55331467efc435aaca93 (diff)
[estuary] Video OSD: Hide 'Previous' button for non-seekable streams.
Diffstat (limited to 'addons/skin.estuary/xml/VideoOSD.xml')
-rw-r--r--addons/skin.estuary/xml/VideoOSD.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/skin.estuary/xml/VideoOSD.xml b/addons/skin.estuary/xml/VideoOSD.xml
index 7c33235890..3b4a83e04b 100644
--- a/addons/skin.estuary/xml/VideoOSD.xml
+++ b/addons/skin.estuary/xml/VideoOSD.xml
@@ -49,7 +49,7 @@
<param name="texture" value="osd/fullscreen/buttons/previous.png"/>
</include>
<onclick>PlayerControl(Previous)</onclick>
- <visible>!VideoPlayer.Content(livetv)</visible>
+ <visible>!VideoPlayer.Content(livetv) + [Player.ChapterCount | Integer.IsGreater(Playlist.Length(video),1) | Player.SeekEnabled]</visible>
</control>
<control type="radiobutton" id="602">
<textureradioonfocus colordiffuse="white">osd/fullscreen/buttons/play.png</textureradioonfocus>