Kodi Community Forum

Full Version: Toggle button: Audio output
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm trying to create a "togglebutton" to change "Digital"/"Analog" value of "Audio Ouput" under the audio hardware settings.

But I've no idea of the command to achieve this!

Here my piece of code:

Code:
            <control type="button" id="812">
                <description>Digital Output</description>
                <label>31211</label>
                <altlabel>31212</altlabel>
                <include>Objects_ContextMenuButton</include>
                <include>[b]???[/b]</include>
                <onclick>[b]???[/b]</onclick>
            </control>

Thank's in advance!

'xcuse my english I'm french!