i use my Vero 4K+ with Flirc receiver to have more commands and try to run a script for the “Audio Profiles” addon.
I have chosen the command “green” to swith between the profiles of the addon. Without any changes in the configuration i get the message “OSMC Remote Controller - Low battery” when i sen d the “green” command (i use a Harmony One instead of the OSMC Remote Controller).
Regarding the “Audio Profiles” documentation i have created the following /home/osmc/.kodi/userdata/keymaps/keyboard.xml :
osmc@osmc:~/.kodi/userdata/keymaps$ cat keyboard.xml <keymap> <global> <keyboard> <green>RunScript(script.audio.profiles,0)</green> </keyboard> </global> </keymap>
Unfortunatelly this seems to take no effect at all, because when i send the “green” command after a restart i still get the “OSMC Remote Controller” message…
Also when i add a /home/osmc/.kodi/userdata/keymaps/remote.xml :
osmc@osmc:~/.kodi/userdata/keymaps$ cat remote.xml <keymap> <global> <remote> <green>RunScript(script.audio.profiles,0)</green> </remote> </global> </keymap>
instead of the keyboard.xml it takes no effect and i get the remote controller message.
How can i run the script? Thanks in advance!