Page tree

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Purpose

  • Required:  No (feature is backwards compatible
  • Type of Change:  Feature

New feature to show the volume overlay in all screens of MP, especially helpful when MP is muted.

Description of Change.

New skin XML VolumeOverlay.xml is needed.
In general just copy the code for the volume overlays from your TV/Video overlay into the new file VolumeOverlay.xml.and change the control IDs. All 3 controls (501, 502 and 503) are now required.

Additional Information and References

Issue #:

MP1-2151

Related xml(s):

VolumeOverlay.xml (new skin xml)

Windows IDs:

3004

Related control:

volumebar and image controls

Related Subsystem: 

skin engine

Author:

regeszter 

Date added:

Fri, 24 Oct 2014

XML/Code Samples 

This code Example from the skin 'DefaultWide':

<window>
<id>3004</id>
<defaultcontrol>2</defaultcontrol>
<controls>
<control>
<id>501</id>
<type>image</type>
<posx>5</posx>
<posy>11</posy>
<width>193</width>
<height>40</height>
<texture>volumelevel.png</texture>
<visible>control.isVisible(503)+!control.isVisible(502)</visible>
</control>
<control>
<id>502</id>
<type>image</type>
<posx>503</posx>
<posx>40</posx>
<posy>40</posy>
<width>70</width>
<height>70</height>
<texture>volume.states.mute.png</texture>
</control>
<control>
<id>503</id>
<type>volumebar</type>
<posx>48</posx>
<posy>22</posy>
<align>left</align>
<height>17</height>
<imageheight>3</imageheight>
<width>135</width>
<texture>volume.states.png</texture>
</control>
</controls>
</window>

As this new feature is backward compatible, no changes have to be done to the original volume controls in TV/Video overlays.

Screenshots

From DefaultWide skin - Basic Home:

   

 

This page has no comments.