How to map more than one action per button [Keymap.xml]
#1
Is it possible to map more than one action on a button in the keymap.xml file?
For example I want to map the action sequence 'Queue' and 'Playlist' to one button on my remote control. After queing an item in the filebrowser view I want to see the playlist view directly.
Is it possible? Maybe we can comma-seperate the commands in the Keymap.xml like this:

<q>Queue,Playlist</q>

regards
Jarny
Reply
#2
Write a small script to execute your actions, launch that with the button.
Reply
#3
thanks for the answer
but I have no experiences in writing scripts Confused

Can anyone show me an example for the case written above?
button: 'p' -> actions: queue and than directly show the music playlist

additional questions:
where is the best/usual place to store this script?
how is the exact entry in the Keymap.xml for calling the script? I only find examples for calling internal functions or switching to windows etc.

thanks in advance
Jarny

btw: maybe in an future version of XBMC it is possible to write more than one entry for a button into the Keymap.xml. Like that:
<q>Queue</q>
<q>Playlist</q>
than XBMC simply execute both actions. But its just an idea!
Reply

Logout Mark Read Team Forum Stats Members Help
How to map more than one action per button [Keymap.xml]0