Kodi Community Forum

Full Version: [ALL PLATFORMS] Can I start a music playlist without turning on the TV with a remote?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I have an HTPC working with Micro$oft MCE remote only (no keyboard or mouse). It is connected to my Denon and from it to the TV.

Can I make a button on the remote switch to play a music playlist (specific one) without turning on the TV to move between menus and screens? If so - how?

Thanks!
Oren
You can map a key to the PlayMedia function. This can take a playlist name as an argument. See http://wiki.xbmc.org/?title=List_of_Built_In_Functions for more details.

JR
Also, the Android & iPhone apps are ideal for this kind of stuff.
live4ever Wrote:Also, the Android & iPhone apps are ideal for this kind of stuff.

Well, I have a very simply Nokia phone, and don't mean to upgrade to a smartphone anytime soon... The kids are dropping them to often Big Grin
jhsrennie Wrote:You can map a key to the PlayMedia function. This can take a playlist name as an argument. See http://wiki.xbmc.org/?title=List_of_Built_In_Functions for more details.

JR

I know how to assign a key stroke to the remote, but a whole command? How do I do that?

Thanks!
theotg Wrote:I know how to assign a key stroke to the remote, but a whole command? How do I do that?

Something like:

Code:
<keymap>
  <global>
    <keyboard>
      <one>PlayMedia(special://masterprofile/playlists/video/PlayListName.m3u)</one>
    </keyboard>
  </global>
</keymap>

JR
jhsrennie Wrote:Something like:

Code:
<keymap>
  <global>
    <keyboard>
      <one>PlayMedia(special://masterprofile/playlists/video/PlayListName.m3u)</one>
    </keyboard>
  </global>
</keymap>

JR

Just to make sure - this will assign the playing to the button with '1' on it? Can I assign to the color buttons (red/green/yellow/blue)?

And where does this XML go to? What file name and what folder?

Thanks,
Oren
The filename is keyboard.xml and it goes in your userdata\keymaps folder. See http://wiki.xbmc.org/index.php?title=Mod...yboard.xml for the gory details.

If you're using Windows you can grab KeyMapEdit from http://xbmcmce.sourceforge.net/ and this gives you a graphical interface for creating and modifying keymaps.

You can map to the coloured buttons, but it depends on which remote you have, what operating system you use and how you have the remote configured. If it's the official Microsoft remote them it will be using the eHome driver, and you can configure the coloured buttons to send keypresses that you can map in exactly the same was as my example mapped the "1" key. My KeyMapEdit applet has a "detect keypress" that you can use to see if the coloured buttons are sending keypresses. See http://wiki.xbmc.org/index.php?title=Usi...in_Windows for more stuff on configuring eHome remotes.

JR
jhsrennie Wrote:The filename is keyboard.xml and it goes in your userdata\keymaps folder. See http://wiki.xbmc.org/index.php?title=Mod...yboard.xml for the gory details.

If you're using Windows you can grab KeyMapEdit from http://xbmcmce.sourceforge.net/ and this gives you a graphical interface for creating and modifying keymaps.

You can map to the coloured buttons, but it depends on which remote you have, what operating system you use and how you have the remote configured. If it's the official Microsoft remote them it will be using the eHome driver, and you can configure the coloured buttons to send keypresses that you can map in exactly the same was as my example mapped the "1" key. My KeyMapEdit applet has a "detect keypress" that you can use to see if the coloured buttons are sending keypresses. See http://wiki.xbmc.org/index.php?title=Usi...in_Windows for more stuff on configuring eHome remotes.

JR

I will try this today/tomorrow...

Oren