Switching Audio Device on a Raspberry Pi 2 via JSON RPC
#1
Hey there.

I am currently running OSMC on a Raspberry Pi 2 B. Its the latest Version and i am completly up to date.
I installed the test version of the Bluetooth audio plugin and it works just fine.

Now i am looking for a way to switch between Bluetooth Audio and Regular HDMI Output.
Seems that JSON RPC is a neat way to do it and i allready figured out how to switch from Bluetooth to HDMI.
What i cant figure out is the correct variable to switch from HDMI to Bluetooth.
Since i am Using YATSE to do this, i only need method and parameters but i cont figure the right parameters.

Any help would be appreciated

Greetings
Sulumar
Reply
#2
I just use the audio profiles addon and map the keymap to a button on the remote.

http://forum.kodi.tv/showthread.php?tid=200081
Reply
#3
Works like a charm.
I just send an integrated command via yatse now. Just what i needed

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Switching Audio Device on a Raspberry Pi 2 via JSON RPC0