Kodi Community Forum

Full Version: Slider for Volume control (eden-pre)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got the slider control working for seeking but can't get it to work for volume control.

Am I correct in assuming the action is volume?

ie <action>volume</action>

Thanks.
that's correct.
here's what i'm using:
Code:
<control type="slider" id="888">
    <description>Volume Slider</description>
    <posx>1065</posx>
    <posy>66</posy>
    <width>130</width>
    <height>15</height>
    <action>volume</action>
    <visible>Player.Playing</visible>
</control>

in which window/dialog are you trying to add it?
afaik it won't work in any of the modeless dialogs, like DialogVolumeBar.xml
That's what I was trying to use it in and surely that's where it's most likely to go?

I've added a global Volume button that opens DialogVolume when focused/clicked and from there want to add the ability to use a mouse/touch screen to adjust it.
I always find that when you manually open it that dialog auto closes too quick
Well I've got it working using a global include with all literally all the code from DialogVolume.xml - which seems wasteful seeing as it's the volume I'm controlling but there you go.
You can always dump it in a different dialog.