[WIP] Shortcut for switching Audio Output Device
#1
Hi!

I had the issue that I wanted to bind a key on my remote to switching the audio output device (without having to click through the settings first). As I was not able to find such a plugin (I found one that automatically switches the output depending on the media) and I was suspicious in trying to write a Kodi add-on I did it myself.

So the add-on does nothing more than switching to the next audio output when executed.

Here's the code:
https://github.com/B-S-L/script.switch.audio.device.shortcut

(here a the addon in zip:
https://github.com/B-S-L/script.switch.a...master.zip
)


Maybe some people (those having their TV in a room where they sometimes have to switch to earphones for sake of peace Wink) can use it - or you may tell how this could have been done easier! (anyway - it was fun to try develoe it).
Reply
#2
(2016-12-26, 13:19)B.S.L. Wrote: Hi!

I had the issue that I wanted to bind a key on my remote to switching the audio output device (without having to click through the settings first). As I was not able to find such a plugin (I found one that automatically switches the output depending on the media) and I was suspicious in trying to write a Kodi add-on I did it myself.

So the add-on does nothing more than switching to the next audio output when executed.

Here's the code:
https://github.com/B-S-L/script.switch.audio.device.shortcut

(here a the addon in zip:
https://github.com/B-S-L/script.switch.a...master.zip
)


Maybe some people (those having their TV in a room where they sometimes have to switch to earphones for sake of peace Wink) can use it - or you may tell how this could have been done easier! (anyway - it was fun to try develoe it).
AWESOME!!

It just does what it's supposed to, simple and effective.

Thanks a lot!
Reply

Logout Mark Read Team Forum Stats Members Help
[WIP] Shortcut for switching Audio Output Device0