Kodi Community Forum
[ALL PLATFORMS] Can I start a music playlist without turning on the TV with a remote? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: [ALL PLATFORMS] Can I start a music playlist without turning on the TV with a remote? (/showthread.php?tid=106382)



[ALL PLATFORMS] Can I start a music playlist without turning on the TV with a remote? - theotg - 2011-07-27

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


- jhsrennie - 2011-07-27

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


- live4ever - 2011-07-27

Also, the Android & iPhone apps are ideal for this kind of stuff.


- theotg - 2011-07-28

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


How? - theotg - 2011-07-28

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!


- jhsrennie - 2011-07-28

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


Not enough info... - theotg - 2011-07-28

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


- jhsrennie - 2011-07-28

The filename is keyboard.xml and it goes in your userdata\keymaps folder. See http://wiki.xbmc.org/index.php?title=Modifying_keyboard.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=Using_a_Microsoft_remote_control_in_Windows for more stuff on configuring eHome remotes.

JR


Many thanks! - theotg - 2011-07-31

jhsrennie Wrote:The filename is keyboard.xml and it goes in your userdata\keymaps folder. See http://wiki.xbmc.org/index.php?title=Modifying_keyboard.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=Using_a_Microsoft_remote_control_in_Windows for more stuff on configuring eHome remotes.

JR

I will try this today/tomorrow...

Oren