View Full Version : Remote control shortcuts - is it possible?
Hi!
I am new here and i just accomplished the tough exercise to setup xbmc with a imon_lcd and a remote controller. There is my question, like the topic says:
is it possible to bind a key press to a particular xbmc action? I'd like to reserve a key on my remote controller binding it to a last fm radio startup; is it possible?
Thank you :)
Did you get your IMON LCD working with with lirc?
What is exactly "binding it to a last fm radio startup." Is it possible to bind this action to a button on the keyboard? If so LIRC can be used to activate that button.
What is exactly "binding it to a last fm radio startup." Is it possible to bind this action to a button on the keyboard? If so LIRC can be used to activate that button.
Well, the question is this: "is it possible to bind this action to a button on the keyboard/remote_controlle/whatever?"
I stumbled upon this: http://xbmc.org/forum/showthread.php?t=45002
It might be of help.
Yes you can bind a remote key to a piece of media. For example, if I wanted to bind the record button on my remote to my last.fm recommended playlist, create a file called Keymap.xml in userdata like this:<keymap>
<global>
<remote>
<record>XBMC.PlayMedia(lastfm://user/capnbry/recommended/100)</record>
</remote>
</global>
</keymap>
Figuring out what the url you want may be a little challenging, so just go play it manually then go look in the xbmc.log for a line that says:16:37:23 T:3268 M:864440320 INFO: Get URL: http://ws.audioscrobbler.com/radio/adjust.php?session=ce802164fef4656fdbdfaf787dbcbe4 c&url=lastfm://user/capnbry/recommended/100&debug=0
And the url in the middle is what you want (not the whole thing, just the url=). Note: do not put quotes around it!
wow, thank you! Where can i find a list of XBMC command (like this .PlayMedia)?
par-joha
2009-02-06, 15:14
wow, thank you! Where can i find a list of XBMC command (like this .PlayMedia)?
http://xbmc.org/wiki/?title=List_of_Built_In_Functions
/ Pär
This one is also very, very handy.:nod:
(Should also be in the list of built in functions.)
SendClick([window,]controlID)
Every button on your screen has a contolID, if you want to program that button to your remote search in [window] .xml for contolID.