<?xml version="1.0" encoding="UTF-8"?>
<window>
  <visible>
    [Window.IsActive(fullscreenvideo) | Window.IsActive(visualisation)] + 
    ![Window.IsActive(sliderdialog) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide) | Window.IsActive(pvrguideinfo) | Window.IsActive(1110)] + 
    [
      Player.Seeking | 
      Player.Forwarding | 
      Player.Rewinding | 
      Player.HasPerformedSeek(2) |
      [
        [Player.DisplayAfterSeek + String.IsEqual(Skin.String(HideOSD),Always)] | 
        [Player.Paused + !Skin.HasSetting(Disable.PauseOSD)] | 
        [Player.DisplayAfterSeek + !System.IdleTime(3)] | 
        [Player.Paused + !System.IdleTime(3) + !Skin.HasSetting(Disable.PauseOSD)]
      ]
    ] + 
    !Window.IsVisible(VideoOSD) + 
    !Window.IsVisible(subtitlesearch) + 
    !Window.IsVisible(MusicOSD)
  </visible>
  <onload condition="!Skin.HasSetting(Disable.OSDDynamicLabelContent) + !VideoPlayer.Content(livetv)">AlarmClock(toggleLabelOn,Skin.Reset(ToggleLabel),00:00:12,silent,loop)</onload>
  <onload condition="!Skin.HasSetting(Disable.OSDDynamicLabelContent) + !VideoPlayer.Content(livetv)">AlarmClock(toggleLabelOff,Skin.SetString(ToggleLabel,on),00:00:06,silent,loop)</onload>
  <onunload condition="!Skin.HasSetting(Disable.OSDDynamicLabelContent)">CancelAlarm(toggleLabelOn,silent)</onunload>
  <onunload condition="!Skin.HasSetting(Disable.OSDDynamicLabelContent)">CancelAlarm(toggleLabelOff,silent)</onunload>
  <onunload condition="!Skin.HasSetting(Disable.OSDDynamicLabelContent)">Skin.Reset(ToggleLabel)</onunload>
  <controls>
    <include content="OSDBackgrounds"/>
    <control type="group">
      <top>860</top>
      <include condition="String.IsEqual(Skin.String(OSDStyleSetting),0)" content="Seekbar"/>
      <include condition="String.IsEqual(Skin.String(OSDStyleSetting),1)" content="OD_Seekbar"/>
    </control>
  </controls>
</window>