- Moderator
- #11
Mine are identical!My volume setting:
This may depend on where you use them. I made a quick change to my "ClassicWide" version of "TvOsd.xml" so that it shows the #volume variables instead of the programme description. As you can see, both variables have sensible values ("100" and "false"), identified in red:
View attachment 202005
The code that generated this output was:
Code:<label>vol.percent=[#volume.percent];vol.mute=[#volume.mute]</label>
Although the #volume variables have values when TV is playing, they may not have values on other panels such as the "Home" panel (I have not tested that).
-- from CyberSimian in the UK
I may have misunderstood, but I think that you have tried the following:
(1) A non-standard remote with a non-standard receiver (Sky remote + FLIRC).
(2) A standard remote with a non-standard receiver (MCE remote + IMON).
You don't seem to have tried a standard remote with a standard receiver.
A couple of points regarding combination (2):
(a) All over the internet there is a predilection for terminological inexactitude (crikey!). People often don't realise that not all MCE remotes are RC6 remotes. For example, the remote that I use (the Ortek/Hama) is an MCE remote but it is not an RC6 remote. This difference matters! An MCE remote that is not an RC6 remote won't work correctly with the standard support in MP (it will work partly, but not completely). To use a non-RC6 remote, you need a different support layer, such as the "Centarea HID".
What is your remote really? Does it state "RC6" on the label? Do you know the manufacturer and model number?
(b) I downloaded the IMON software (100MB! another crikey!). From the PDF, it looks as though it generates keyboard shortcuts. When setting this up, if you selected a pre-defined "WMC profile", it won't work correctly! This is because it will be generating WMC keyboard shortcuts, which are different from MP keyboard shortcuts. To use IMON, I think that you need to setup each button definition so that the buttons send MP keyboard shortcuts. Did you do this?
If you defined the buttons to send MP keyboard shortcuts, you won't need to use the "Centarea HID" support layer.
-- from CyberSimian in the UK
This may depend on where you use them. I made a quick change to my "ClassicWide" version of "TvOsd.xml" so that it shows the #volume variables instead of the programme description. As you can see, both variables have sensible values ("100" and "false"), identified in red:
View attachment 202005
The code that generated this output was:
Code:<label>vol.percent=[#volume.percent];vol.mute=[#volume.mute]</label>
Although the #volume variables have values when TV is playing, they may not have values on other panels such as the "Home" panel (I have not tested that).
-- from CyberSimian in the UK
Strange.I put the same variables into my TvOSD.xml, and they weren't recognised. I wonder if this is related to the missing VolumeHandler.cs file as noted in post #7 ?
Looking at my bumper list of built-in skin variables, I see that we already have #volume.percent and #volume.mute. They are set in:
...\MediaPortal-1-master\mediaportal\Core\Player\VolumeHandler.cs
I have never used them, so I don't know whether they actually work.
I have and the do.- snip from my Volume.overlay.xml
<control>
<id>0</id>
<type>image</type>
<posX>1775</posX>
<posY>40</posY>
<width>100</width>
<height>100</height>
<texture>v/volume_base.png</texture>
<visible>!#volume.mute</visible>
</control>
<control>
<id>501</id>
<type>image</type>
<posX>1770</posX>
<posY>35</posY>
<width>110</width>
<height>110</height>
<texture>#(string.format('v/w{0}.png', #volume.percent ))</texture>
</control>
Cheers - JCMP