2017-07-18, 11:43
I have a problem with logic Can someone help me out? I have this in DialogSeekBar.xml (original):
and want it to 1. disappear immediately when player goes from pause to play, 2. show when Player.ShowInfo, whether it is in play or pause.
I have managed to do 1:
But as the + !Player.Playing takes precedence it's not working for Player.ShowInfo when playing.
EDIT: Changed my mind, I don't want "1. disappear after 10 seconds" (+ !System.IdleTime(10))
Code:
<visible>[Window.IsActive(videoosd) | Window.IsActive(fullscreeninfo) | Player.ShowInfo | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding] + !Window.IsVisible(MusicOSD) + VideoPlayer.IsFullscreen + !Window.IsVisible(1134)</visible>
I have managed to do 1:
Code:
<visible>[Window.IsActive(videoosd) | Window.IsActive(fullscreeninfo) | Player.ShowInfo | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding] + !Window.IsVisible(MusicOSD) + VideoPlayer.IsFullscreen + !Window.IsVisible(1134) + !Player.Playing</visible>
EDIT: Changed my mind, I don't want "1. disappear after 10 seconds" (+ !System.IdleTime(10))