Hi there
With json-rpc custom commands I can conveniently change the rpi2s audio settings in yatse.
E.g. I switch to hdmi by:
Method:
Settings.SetSettingValue
Params:
{“setting”:”audiooutput.audiodevice”, “value”:”PI:HDMI”}, “id”:1}
or to output through my hifiberry by (it took a while to figure that out…):
Method:
Settings.SetSettingValue
Params:
{“setting”:”audiooutput.audiodevice”, “value”:”ALSA:@”}, “id”:1}
Furthermore I can switch to 7.1 channel output by:
Params:
params:{“setting”:”audiooutput.channels”,”value”:10}, “id”:1}
For 2.0 it is “value”:1, etc., Method is the same as above.
Now what I would like to do is combine the settings, e.g. switch to hdmi and 7.1 channels with a single custom command. Is there a way?
cheers
Oliver