LaggAt / LaggAt-Kodi

Addons and scripts for Kodi
GNU General Public License v3.0
1 stars 0 forks source link

quick way to turn passthrough on and off? #1

Open LaggAt opened 7 years ago

LaggAt commented 7 years ago

Nice job, but I was wondering if there was a quick way to turn passthrough on and off? My girlfriend uses Kodi but her surround headphones are connected via SPDIF. All I want to do is turn it on and off with a keypress (remote, etc). That way she can switch back and forth between speakers (audio out) and headphones (SPDIF).

http://forum.kodi.tv/showthread.php?tid=201896&pid=2413778#pid2413778

LaggAt commented 7 years ago

Something like this should work according to some forum posts:

{"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"audiooutput.passthrough","value":true},"id":1}