Page tree


Search

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.22 
            Releasenews | Download
 MediaPortal 2 2.2.1 
            Releasenews | Download

Purpose

  • Required:  No
  • Type of Change:  Feature

The purpose of this feature is to auto hide the pause OSD as well as the OSD (that OSD if you press Y).

Description of Change

With this feature we introduce a new property for skins. The new property window.ispauseosdvisible can be used to check the visibility of the pause OSD.

To activate the auto hiding of the pause OSD, you must set the Display-Timeout in Configuration > General > On-Screen Display (see screenshot below). Zero (0) means auto hiding is disabled. Default skins support the auto hinding.

Additional Information and References

  • Mantis Issue: 3141
  • Related xml(s):  mytvFullScreen.xml, videofullscreen.xml. TVOSD.xml
  • Window ID: 602, 2005, 3003
  • Related GUI property/controlwindow.ispauseosdvisible

XML/Code Samples

 

Use of the property

<control>
      <description>progress bar background</description>
      <type>image</type>
      <posX>170</posX>
      <posY>646</posY>
      <width>831</width>
      <height>25</height>
      <texture>osd_progress_background.png</texture>
      <visible>window.isosdvisible|window.ispauseosdvisible|player.rewinding|player.forwarding|Control.IsVisible(10)</visible>
      <animation effect="fade" time="250">visiblechange</animation>
      <animation effect="fade" time="250">windowopen</animation>
    </control>
    <control>

 

Hide the Pause Logo

 <control>
      <description>pause image</description>
      <type>image</type>
      <posX>530</posX>
      <posY>680</posY>
      <width>111</width>
      <height>20</height>
      <visible>window.ispauseosdvisible+!Control.IsVisible(10)</visible>
      <texture>video-pause.png</texture>
      <colorkey>0</colorkey>
      <colordiffuse>White</colordiffuse>
      <animation effect="fade" time="250">visiblechange</animation>
    </control>

 

Show the Pause Logo

 <control>
      <description>pause image</description>
      <type>image</type>
      <posX>530</posX>
      <posY>680</posY>
      <width>111</width>
      <height>20</height>
      <visible>player.paused+!Control.IsVisible(10)</visible>
      <texture>video-pause.png</texture>
      <colorkey>0</colorkey>
      <colordiffuse>White</colordiffuse>
      <animation effect="fade" time="250">visiblechange</animation>
    </control>

Screenshots

 

   

 

This page has no comments.