home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
MP1-5126 - Fix a problem in config volume
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CyberSimian" data-source="post: 1291326" data-attributes="member: 141969"><p>It <em>is</em> possible to have such a display, if you make the necessary modifications to the skin that you use. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>The skin engine provides the following built-in skin variables:</p><p style="margin-left: 20px"><strong>#volume.percent</strong> (this has a value in the range <strong>0</strong> to <strong>100</strong>)</p> <p style="margin-left: 20px"><strong>#volume.mute</strong> (this has the value <strong>true</strong> or <strong>false</strong>)</p><p>You can use these to display the volume status. The following screenshots show the volume status using these skin variables. The value top-left appears on all panels (other than fullscreen video), while the value bottom-center has an associated timeout and so appears only for a few seconds when the volume is changed or when you move between panels:</p><p></p><p>[ATTACH]211125[/ATTACH] [ATTACH]211126[/ATTACH]</p><p></p><p>The value top-left uses the built-in skin variables and is present in each xml file that displays a panel.</p><p></p><p>The value bottom-center is created by "VolumeOverlay.xml", which is where the built-in control tags for volume are located. I don't use those tags (I position them off screen), but I use the visibility of those tags to generate the volume bottom-center, which thus has the associated timeout.</p><p></p><p>If you wanted the volume bar with volume level at the end, you could retain the volume bar control, and place <strong>#volume.percent</strong> at the end of it.</p><p></p><p>Note:</p><ul> <li data-xf-list-type="ul">The volume increments that you see for <strong>#volume.percent</strong> depend on the other volume settings in "MP Config". With the settings that I use, the volume increases or decreases by 2 when I press the volume up or down button once.</li> <li data-xf-list-type="ul">There is some weirdness relating to the maximum value displayed. This weirdness may or may not be a bug, but it can be circumvented by enabling <strong>Hide Windows OSD</strong> in "MP Config".</li> <li data-xf-list-type="ul">There is a bug relating to the two skin variables in that they are not initialised when the MP client starts, so both remain unsubstituted when used in an expression <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" />. However, they <em>are</em> set as soon as you change or mute the volume for the first time, and thereafter they are correct for the duration of the session.</li> </ul><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1291326, member: 141969"] It [i]is[/i] possible to have such a display, if you make the necessary modifications to the skin that you use. :) The skin engine provides the following built-in skin variables: [INDENT][b]#volume.percent[/b] (this has a value in the range [b]0[/b] to [b]100[/b])[/INDENT] [INDENT][b]#volume.mute[/b] (this has the value [b]true[/b] or [b]false[/b])[/INDENT] You can use these to display the volume status. The following screenshots show the volume status using these skin variables. The value top-left appears on all panels (other than fullscreen video), while the value bottom-center has an associated timeout and so appears only for a few seconds when the volume is changed or when you move between panels: [ATTACH]211125[/ATTACH] [ATTACH]211126[/ATTACH] The value top-left uses the built-in skin variables and is present in each xml file that displays a panel. The value bottom-center is created by "VolumeOverlay.xml", which is where the built-in control tags for volume are located. I don't use those tags (I position them off screen), but I use the visibility of those tags to generate the volume bottom-center, which thus has the associated timeout. If you wanted the volume bar with volume level at the end, you could retain the volume bar control, and place [b]#volume.percent[/b] at the end of it. Note: [LIST] [*]The volume increments that you see for [b]#volume.percent[/b] depend on the other volume settings in "MP Config". With the settings that I use, the volume increases or decreases by 2 when I press the volume up or down button once. [*]There is some weirdness relating to the maximum value displayed. This weirdness may or may not be a bug, but it can be circumvented by enabling [b]Hide Windows OSD[/b] in "MP Config". [*]There is a bug relating to the two skin variables in that they are not initialised when the MP client starts, so both remain unsubstituted when used in an expression :(. However, they [i]are[/i] set as soon as you change or mute the volume for the first time, and thereafter they are correct for the duration of the session. [/LIST] -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
MP1-5126 - Fix a problem in config volume
Contact us
RSS
Top
Bottom