Hide OSD after System.IdleTime(3) if Player.IsTempo

This commit is contained in:
Christian Gade 2021-04-21 11:51:27 +02:00
parent 7c4264214e
commit 9fb0de2042
3 changed files with 427 additions and 424 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol>1</defaultcontrol>
<visible>Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowTime | Player.IsTempo</visible>
<visible>Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowTime | [Player.IsTempo + !System.IdleTime(3)]</visible>
<visible>!Player.HasGame</visible>
<visible>!Player.FrameAdvance</visible>
<animation effect="fade" start="0" end="100" time="150">WindowOpen</animation>

View File

@ -53,7 +53,7 @@
<!-- media infos -->
<control type="group" id="1">
<depth>DepthOSD</depth>
<visible>[Player.ShowInfo | Window.IsActive(VideoOSD)] + ![Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide) | Window.IsVisible(SliderDialog)]</visible>
<visible>[Player.ShowInfo | Window.IsActive(VideoOSD)] + ![Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide) | Window.IsVisible(SliderDialog) | [Player.IsTempo + System.IdleTime(3)]]</visible>
<animation effect="fade" time="150">VisibleChange</animation>
<control type="image" id="1">
<left>-20</left>

View File

@ -9,6 +9,8 @@
<top>0</top>
</coordinates>
<controls>
<control type="group">
<visible>![Player.IsTempo + System.IdleTime(3)]</visible>
<control type="button">
<description>Close Window button</description>
<left>84r</left>
@ -457,5 +459,6 @@
<texture border="20,0,20,50">SubMenuBack-Footer.png</texture>
</control>
</control>
</control>
</controls>
</window>