Kodi Community Forum
key bind/ shortcut to Music Library - 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: key bind/ shortcut to Music Library (/showthread.php?tid=318106)



key bind/ shortcut to Music Library - bricktop - 2017-07-12

how would i set a key bind to my music library please ?

thanks


RE: key bind/ shortcut to Music Library - DaVu - 2017-07-13

I assume you are talking about how to do that for a remote.

Generally you are able to use a button and call an in built python function:

Code:
ActivateWindow(10502)

The window-ID "10502" is for the musiclibrary,

This wiki might be helpful, too: http://kodi.wiki/view/Keymap


RE: key bind/ shortcut to Music Library - bricktop - 2017-07-13

no im after being able to press a key on my keyboard and it takes me to the Music/Library/Artist

from a global point so no matter where i am in kodi one key will take me there, it seems like it should be easy thing to do but been trying for a while and im stuck!


RE: key bind/ shortcut to Music Library - bricktop - 2017-07-15

any advice on this please?


RE: key bind/ shortcut to Music Library - bricktop - 2017-07-16

ive built a jukebox and i want it to have minimal controls to make it easy for people to use theres quite a few elderly people that would be using it

originally there was to many buttons and i found people would navigate away from the music library and get stuck/lost

the new jukebox will only have 4 buttons (the blue buttons in the picture, the blue button on the left which was back will be obsolete)

up, down, enter and the button far right which if possible would be select and also a short cut into Music/library/artist

so the user would select artist, select album and then using the far right button select song and at the same time kodi would jump back into Music/library/artist

making it very easy to use and impossible to navigate away from the library

i just cant figure out how to create the shortcut key to Music/library/artist

ive tried the key map editor which looks like it should do exactly what i want it to do but when set up nothing happens

Image


RE: key bind/ shortcut to Music Library - bricktop - 2017-07-18

Is there no one willing to add anything?


RE: key bind/ shortcut to Music Library - DaveBlake - 2017-07-20

I would guess that asking a question that is not RPi specific in the Pi forum isn't going to get your question the right audience for an answer. Would you like me to move the thread?


RE: key bind/ shortcut to Music Library - bricktop - 2017-07-22

(2017-07-20, 14:39)DaveBlake Wrote: I would guess that asking a question that is not RPi specific in the Pi forum isn't going to get your question the right audience for an answer. Would you like me to move the thread?

Yes please DaveBlake that would be appreciated


RE: key bind/ shortcut to Music Library - DaveBlake - 2017-07-24

Moved to Independant subforum, where it may have more chance of being answered.

@bricktop try searching for "keymap" too, that may have the answer. Or perhaps this gives some hints https://forum.kodi.tv/showthread.php?tid=235331


RE: key bind/ shortcut to Music Library - jjd-uk - 2017-07-24

The answer to the original question was given in Post#2

You just need to assign the command to an used key in the global section of the relevant key map, to find out the command you need simple create a favourite that does the required action then check the favourites.xml file to see what the relelvant "ActivateWindow" is.


RE: key bind/ shortcut to Music Library - scott967 - 2017-07-24

I would use "ActivateWindow(music,artists,return)" and map it in the "global" section of the keymap file.

scott s.
.


RE: key bind/ shortcut to Music Library - DaVu - 2017-07-24

That's nearly exactly what I've explained in posting #2.. Or at least pretty similar.

@bricktop it's all in the wiki I linked. If you have problems with understanding, then pease ask specific questions and tell us the steps you have done till now.

Saying that it (what I have written) does not work, is unfortunately not correct. It will.