Sprawdzenie aktualnego ustawienia:
curl -v -H "Content-type: application/json" -d '{"jsonrpc":"2.0","method":"Settings.GetSettingValue", "params":{"setting":"audiooutput.audiodevice"},"id":1}' http://KODI_HOST/jsonrpc
Przykładowe rezultaty w przypadku OpenElec (dla HDMI i BT Audio):
{"id":1,"jsonrpc":"2.0","result":{"value":"PI:HDMI"}}
{"id":1,"jsonrpc":"2.0","result":{"value":"PULSE:Default"}}
Przykładowe ustawienie wyjścia audio na Bluetooth:
curl -v -H "Content-type: application/json" -d '{"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"audiooutput.audiodevice", "value":"PULSE:Default"},"id":1}' http://KODI_HOST/jsonrpc