Custom Shortcuts via TV remote

I’ve been trying to figure out a way to make custom shortcuts via the TV remote but I’m not sure if I’m stupid or there is no such functionality :slight_smile:

At home we switch between HDMI sound and Bluetooth sound several times a day, and it is really a hassle to press 10-15 times to swap the sound, I’d love a way to switch between two audio outputs, or have bluetooth output automagically enabled when I connect a bluetooth device to my RasPlex which has audio out properties, and then back to last config when the bluetooth device disconnects.

Well, you can search on the forum for examples of how to run a script with a modification of the keymap.xml

Then you can look for an example of commands for xbmc-send to do what you want (again just check keymap.xml commands).

and you will get what you want on the press of a button

you can also check this script of mine if you want to pass actual keypresses, but have in mind that if you are using rasplex 1.7.1 you need to change back the port to 9777