From 9fb0de2042ac851df38ea8d80316268a869eff0b Mon Sep 17 00:00:00 2001 From: Christian Gade Date: Wed, 21 Apr 2021 11:51:27 +0200 Subject: [PATCH] Hide OSD after System.IdleTime(3) if Player.IsTempo --- 720p/DialogSeekBar.xml | 2 +- 720p/VideoFullScreen.xml | 2 +- 720p/VideoOSD.xml | 847 ++++++++++++++++++++------------------- 3 files changed, 427 insertions(+), 424 deletions(-) diff --git a/720p/DialogSeekBar.xml b/720p/DialogSeekBar.xml index d89b522..daded7c 100644 --- a/720p/DialogSeekBar.xml +++ b/720p/DialogSeekBar.xml @@ -1,7 +1,7 @@ 1 - Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowTime | Player.IsTempo + Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowTime | [Player.IsTempo + !System.IdleTime(3)] !Player.HasGame !Player.FrameAdvance WindowOpen diff --git a/720p/VideoFullScreen.xml b/720p/VideoFullScreen.xml index 6a4b8ad..9633048 100644 --- a/720p/VideoFullScreen.xml +++ b/720p/VideoFullScreen.xml @@ -53,7 +53,7 @@ DepthOSD - [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.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)]] VisibleChange -20 diff --git a/720p/VideoOSD.xml b/720p/VideoOSD.xml index 3a8135d..e638334 100644 --- a/720p/VideoOSD.xml +++ b/720p/VideoOSD.xml @@ -9,452 +9,455 @@ 0 - - Close Window button - 84r - 0 - 64 - 32 - - - DepthOSD+ - Seek Slider - 430 - 82r - 720 - 16 - 702 - 26 - seek - seekslider2.png - osd_slider_nibNF.png - osd_slider_nib.png - VisibleChange - ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | VideoPlayer.Content(LiveTV)] - - - 325 - 60r - horizontal - 0 - VisibleChange - ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide)] - - 55 - 55 - + + ![Player.IsTempo + System.IdleTime(3)] + + Close Window button + 84r + 0 + 64 + 32 + - - 55 - 55 - - - OSDChannelDownFO.png - OSDChannelDownNF.png - PlayerControl(Next) - VideoPlayer.Content(LiveTV) + + DepthOSD+ + Seek Slider + 430 + 82r + 720 + 16 + 702 + 26 + seek + seekslider2.png + osd_slider_nibNF.png + osd_slider_nib.png + VisibleChange + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | VideoPlayer.Content(LiveTV)] - - 55 - 55 - - - OSDPrevTrackFO.png - OSDPrevTrackNF.png - PlayerControl(Previous) - !VideoPlayer.Content(LiveTV) + + 325 + 60r + horizontal + 0 + VisibleChange + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide)] + + 55 + 55 + + + OSDChannelUPFO.png + OSDChannelUPNF.png + PlayerControl(Previous) + VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDChannelDownFO.png + OSDChannelDownNF.png + PlayerControl(Next) + VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDPrevTrackFO.png + OSDPrevTrackNF.png + PlayerControl(Previous) + !VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDRewindFO.png + OSDRewindNF.png + Player.SeekEnabled + Conditional + PlayerControl(Rewind) + + + 55 + 55 + + 208 + + OSDPauseFO.png + OSDPauseNF.png + Player.Paused | Player.Forwarding | Player.Rewinding + OSDPlayFO.png + OSDPlayNF.png + 400 + PlayerControl(Play) + Player.PauseEnabled + Conditional + + + 55 + 55 + + + OSDStopFO.png + OSDStopNF.png + PlayerControl(Stop) + + + 55 + 55 + + + OSDForwardFO.png + OSDForwardNF.png + Player.SeekEnabled + Conditional + PlayerControl(Forward) + + + 55 + 55 + + + OSDNextTrackFO.png + OSDNextTrackNF.png + PlayerControl(Next) + !VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDChannelListFO.png + OSDChannelListNF.png + ActivateWindow(PVROSDChannels) + Dialog.Close(VideoOSD) + VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDepgFO.png + OSDepgNF.png + ActivateWindow(PVRChannelGuide) + Dialog.Close(VideoOSD) + VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDTeleTextFO.png + OSDTeleTextNF.png + ActivateWindow(Teletext) + VideoPlayer.Content(LiveTV) + + + 270 + + VideoPlayer.HasMenu + !VideoPlayer.Content(LiveTV) + + + 160 + + VideoPlayer.Content(LiveTV) + + + 325 + + !VideoPlayer.Content(LiveTV) + !VideoPlayer.HasMenu + + + VideoPlayer.IsStereoscopic + Conditional + 55 + 55 + + + OSDStereoscopicFO.png + OSDStereoscopicNF.png + 501 + + + 55 + 55 + + + OSDSubtitlesFO.png + OSDSubtitlesNF.png + ActivateWindow(OSDSubtitleSettings) + + + 55 + 55 + + + OSDVideoFO.png + OSDVideoNF.png + ActivateWindow(OSDVideoSettings) + + + 55 + 55 + + + OSDAudioFO.png + OSDAudioNF.png + ActivateWindow(OSDAudioSettings) + + + 55 + 55 + + + OSDBookmarksFO.png + OSDBookmarksNF.png + ActivateWindow(VideoBookmarks) + !VideoPlayer.Content(LiveTV) + + + 55 + 55 + + + OSDDvdFO.png + OSDDvdNF.png + PlayerControl(ShowVideoMenu) + !VideoPlayer.Content(LiveTV) + VideoPlayer.HasMenu + + + 55 + 55 + + 265 + + OSDRecordOffFO.png + OSDRecordOffNF.png + PVR.IsRecordingPlayingChannel | PVR.IsPlayingActiveRecording + OSDRecordOnFO.png + OSDRecordOnNF.png + PVR.ToggleRecordPlayingChannel + PVR.CanRecordPlayingChannel + Conditional + VideoPlayer.Content(LiveTV) + - - 55 - 55 - - - OSDRewindFO.png - OSDRewindNF.png - Player.SeekEnabled - Conditional - PlayerControl(Rewind) - - - 55 - 55 - - 208 - - OSDPauseFO.png - OSDPauseNF.png - Player.Paused | Player.Forwarding | Player.Rewinding - OSDPlayFO.png - OSDPlayNF.png - 400 - PlayerControl(Play) - Player.PauseEnabled - Conditional - - - 55 - 55 - - - OSDStopFO.png - OSDStopNF.png - PlayerControl(Stop) - - - 55 - 55 - - - OSDForwardFO.png - OSDForwardNF.png - Player.SeekEnabled - Conditional - PlayerControl(Forward) - - - 55 - 55 - - - OSDNextTrackFO.png - OSDNextTrackNF.png - PlayerControl(Next) - !VideoPlayer.Content(LiveTV) - - - 55 - 55 - - - OSDChannelListFO.png - OSDChannelListNF.png - ActivateWindow(PVROSDChannels) - Dialog.Close(VideoOSD) - VideoPlayer.Content(LiveTV) - - - 55 - 55 - - - OSDepgFO.png - OSDepgNF.png - ActivateWindow(PVRChannelGuide) - Dialog.Close(VideoOSD) - VideoPlayer.Content(LiveTV) - - - 55 - 55 - - - OSDTeleTextFO.png - OSDTeleTextNF.png - ActivateWindow(Teletext) - VideoPlayer.Content(LiveTV) - - - 270 - - VideoPlayer.HasMenu + !VideoPlayer.Content(LiveTV) - - - 160 - - VideoPlayer.Content(LiveTV) - - - 325 - - !VideoPlayer.Content(LiveTV) + !VideoPlayer.HasMenu - - - VideoPlayer.IsStereoscopic - Conditional - 55 - 55 - - - OSDStereoscopicFO.png - OSDStereoscopicNF.png - 501 - - - 55 - 55 - - - OSDSubtitlesFO.png - OSDSubtitlesNF.png - ActivateWindow(OSDSubtitleSettings) - - - 55 - 55 - - - OSDVideoFO.png - OSDVideoNF.png - ActivateWindow(OSDVideoSettings) - - - 55 - 55 - - - OSDAudioFO.png - OSDAudioNF.png - ActivateWindow(OSDAudioSettings) - - - 55 - 55 - - - OSDBookmarksFO.png - OSDBookmarksNF.png - ActivateWindow(VideoBookmarks) - !VideoPlayer.Content(LiveTV) - - - 55 - 55 - - - OSDDvdFO.png - OSDDvdNF.png - PlayerControl(ShowVideoMenu) - !VideoPlayer.Content(LiveTV) + VideoPlayer.HasMenu - - - 55 - 55 - - 265 - - OSDRecordOffFO.png - OSDRecordOffNF.png - PVR.IsRecordingPlayingChannel | PVR.IsPlayingActiveRecording - OSDRecordOnFO.png - OSDRecordOnNF.png - PVR.ToggleRecordPlayingChannel - PVR.CanRecordPlayingChannel - Conditional - VideoPlayer.Content(LiveTV) - - - - Fake button for mouse control - 334 - 60 - 256 - 250 - - - Fake button for mouse control - 200 - 60 - 256 - 210 - - - DepthOSD+ - Player.TempoEnabled + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide)] + [Control.HasFocus(202) | ControlGroup(400).HasFocus | Control.HasFocus(410)] - VisibleChange - Conditional - 334 - 45 - 256 - 140 - 0 - vertical - VisibleFadeEffect - - Header + + Fake button for mouse control + 334 + 60 256 - 40 - + 250 + + + Fake button for mouse control + 200 + 60 + 256 + 210 + + + DepthOSD+ + Player.TempoEnabled + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide)] + [Control.HasFocus(202) | ControlGroup(400).HasFocus | Control.HasFocus(410)] + VisibleChange + Conditional + 334 + 45 + 256 + 140 + 0 + vertical + VisibleFadeEffect + Header - 0 - 0 256 40 - SubMenuBack-Header.png + + Header + 0 + 0 + 256 + 40 + SubMenuBack-Header.png + + + 0 + 20 + 256 + 15 + font12 + + blue + center + center + - - 0 - 20 + 256 - 15 - font12 - - blue - center - center + 40 + + 256 + 40 + SubMenuBack-MiddleNF.png + + + 30 + 130 + 40 + center + font13 + + + + 9 + 165 + 33 + 22 + scroll-down-focus-2.png + scroll-down-2.png + 505 + 505 + 202 + 202 + PlayerControl(TempoDown) + + + 9 + 198 + 33 + 22 + scroll-up-focus-2.png + scroll-up-2.png + 504 + 504 + 202 + 202 + PlayerControl(TempoUp) + + + + Footer + 256 + 52 + SubMenuBack-Footer.png - + + DepthOSD+ + videoplayer.isstereoscopic + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide)] + [Control.HasFocus(255) | ControlGroup(500).HasFocus | Control.HasFocus(520)] + VisibleChange + Conditional + Conditional + 200 + 45 256 - 40 - + 220 + 0 + 100 + 100 + 255 + 255 + vertical + VisibleFadeEffect + + Header 256 40 - SubMenuBack-MiddleNF.png + + Header + 0 + 0 + 256 + 40 + SubMenuBack-Header.png + + + 0 + 20 + 256 + 15 + font12 + + blue + center + center + - - 30 - 130 + 40 + 256 + 30 center font13 - + + 200 + SubMenuBack-MiddleFO.png + SubMenuBack-MiddleNF.png + ToggleStereoMode + Integer.IsGreater(System.StereoscopicMode,0) + false - - 9 - 165 - 33 - 22 - scroll-down-focus-2.png - scroll-down-2.png - 505 - 505 - 202 - 202 - PlayerControl(TempoDown) - - - 9 - 198 - 33 - 22 - scroll-up-focus-2.png - scroll-up-2.png - 504 - 504 - 202 - 202 - PlayerControl(TempoUp) - - - - Footer - 256 - 52 - SubMenuBack-Footer.png - - - - DepthOSD+ - videoplayer.isstereoscopic + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide)] + [Control.HasFocus(255) | ControlGroup(500).HasFocus | Control.HasFocus(520)] - VisibleChange - Conditional - Conditional - 200 - 45 - 256 - 220 - 0 - 100 - 100 - 255 - 255 - vertical - VisibleFadeEffect - - Header - 256 - 40 - - Header - 0 - 0 - 256 + 40 - SubMenuBack-Header.png - - - 0 - 20 256 - 15 - font12 - - blue - center center + font13 + 30 + SubMenuBack-MiddleFO.png + SubMenuBack-MiddleNF.png + false + + StereoMode + + + 40 + 256 + 30 + center + font13 + + 200 + SubMenuBack-MiddleFO.png + SubMenuBack-MiddleNF.png + StereoModeToMono + String.IsEqual(System.StereoscopicMode,9) + false + + + Footer + 256 + 52 + SubMenuBack-Footer.png - - - 40 - 256 - 30 - center - font13 - - 200 - SubMenuBack-MiddleFO.png - SubMenuBack-MiddleNF.png - ToggleStereoMode - Integer.IsGreater(System.StereoscopicMode,0) - false - - - 40 - 256 - center - font13 - 30 - SubMenuBack-MiddleFO.png - SubMenuBack-MiddleNF.png - false - - StereoMode - - - 40 - 256 - 30 - center - font13 - - 200 - SubMenuBack-MiddleFO.png - SubMenuBack-MiddleNF.png - StereoModeToMono - String.IsEqual(System.StereoscopicMode,9) - false - - - Footer - 256 - 52 - SubMenuBack-Footer.png