The relevant code is:
Code:
output = "plug:tvhdmi"
xbmc.executehttpapi('SetGUISetting(3; audiooutput.customdevice; %s)' % (str(output)))
xbmc.executehttpapi('SetGUISetting(3; audiooutput.custompassthrough; %s' % (str(output)))The customdevice is changed correctly, but the custompassthrough doesn't get changed.
Here's the extract from my guisettings.xml file
Code:
<audiooutput>
<ac3passthrough>true</ac3passthrough>
<audiodevice>custom</audiodevice>
<channellayout>0</channellayout>
[b]<customdevice>plug:tvhdmi</customdevice>
<custompassthrough>plug:dmixer</custompassthrough>[/b]I know setGUIsetting is supposed to take a number between 0-2 but the string still seems to get set for the first setting.
Is it actually possible to do this via python? Seems odd that I can change one, but not the other.
Thanks,
el_P

Search
Help