Remote Control Function

Hi,

I’ve built myself 2 RasPlex’s both can connect to my PlexServer and I have full access to all my media. However, if I go into Settings or start playing a movie, I am unable to back using either the Neo M1 remote I have just received, or the LG TV remote using CEC through the HDMI port. All other functions work 100%.

So, when I say back, I mean once the RasPlex loads, and I’m on the main screen, I calk press the left arrow to change the screen to set preferences or properties, etc. I can cycles through all the settings, but when I want to get back to the original side menu to select the other settings, or press the right arrow and then watch a movie, I have no BACK function. The only way to get there is to power cycle the Pi.

This works the same with movies or any media, if I start playing it, I can stop it and do all the options associated with that one media item, but I can’t go BCK to the main menu to select a different movie, etc.

Is there some way to change the remote settings, or am I doing something wrong? both of my remotes have back/home buttons…

There is a way to remap keys, search this forum for examples.

Regards

I found a topic that shows me how to see the logs using SSH, but I caqn’t figure out how to enable DEBUG so I can actually see what the remote is sending, and then, even if I could, I would have no idead how to wrote an XML file, or upload it to the RasPlex… I’m starting to think it may be all too hard.

OK, I managed to find the Debug option, and have worked out my missing key is labelled “home”

I even found the directory I need to upload it to, but have had major issues trying to get a XML file to work, and therefore the RasPlex to recognise the back/home button…

@arogers75 said:
I even found the directory I need to upload it to, but have had major issues trying to get a XML file to work, and therefore the RasPlex to recognise the back/home button…

Can you post the contents of your keymap.xml file you have just created?

Regards

@NedtheNerd said:

@arogers75 said:
I even found the directory I need to upload it to, but have had major issues trying to get a XML file to work, and therefore the RasPlex to recognise the back/home button…

Can you post the contents of your keymap.xml file you have just created?

Regards

I tried this oned below, as well as Back instead of PreviousMenu. both worked, but not in the way I was hoping. thy only took me to the top of the page. is there a list of RasPlex commands?

keymaps.xml:

  • home ...

try again…

  • home ...

Paste the text inside code tags.

`-

  • home ... `

@kegobeer-plex said:
Paste the text inside code tags.

woohoo. learnt another new thing :slight_smile: thanks kegobeer.

@arogers75

Delete whats is in your keymap.xml file and paste the following (should be in /storage/userdata/keymaps folder):

 <keymap>
 <global>
     <remote>
         <back>Home</back>
     </remote>
 </global>
 </keymap>

Regards

@NedtheNerd said:
@arogers75

Delete whats is in your keymap.xml file and paste the following (should be in /storage/userdata/keymaps folder):

 <keymap>
 <global>
     <remote>
         <back>Home</back>
     </remote>
 </global>
 </keymap>

Regards

Thanks. That’s exactly what I had originally, before trying the PreviousMenu instead of back. However both did the same thing, neither of them take me back to the Home screen, or exit the area I’m in.

Is there a list of commands available for the RasPlex? I am keen to get it going :slight_smile:

I have played with most of the day now, I can’t get it going… I even plugged a keyboard into the USB and tested the command there when pressing the ESC key (which is exactly what I want from my home/back button on the remote. I discovered that the RasPlex command was “DEBUG: OnKey: escape (f01b) pressed, action is ParentDir” so I tried ParentDir in the XML file instead of back. Still didn’t work.

When I press the “home” key on my remote it shows: “DEBUG: OnKey: home (f088) pressed, action is FirstPage” however I want the action to be “ParentDir” by the looks of it, and the XML file has “home” it appears that the keymap.xml file isn’t even being looked at…

the “keymap.xml” file is located in “\RASPLEXPARENTS\Userdata\keymaps” going through the network shares from my windows PC.

Is this correct, or have I done something so stupidly simply wrong? I’d like to get this working so I can pout the Pi back in my bedroom so my wife can stop hassling me… :slight_smile:

Out of curiosity I installed OSMC onto a flash card and installed that on the same Pi, I could select the remote from the Pi settings, and it worked beautifully… Shame I don’t like the interface, and have set the rest of my house up using Plex! :slight_smile:

The syntax is crucial, as is case sensitivity. Make sure you copied the lines exactly as I typed them. You also need to restart the RPi when after changing the file.

For a full list, Google for ‘Kodi’ and ‘keymaps’.

Regards

@NedtheNerd said:
The syntax is crucial, as is case sensitivity. Make sure you copied the lines exactly as I typed them. You also need to restart the RPi when after changing the file.

For a full list, Google for ‘Kodi’ and ‘keymaps’.

Regards

I did copy & paste, however I’m guessing the “back” function isn’t actually what I wanted… I’ve tried google to show me a list of commands, but have had NO luck finding anything. I basically want the back button on the remote to do exactly what the ESCAPE key on my keyboard does.

As far as I understand you, you want the button to return you to the Home screen from where ever you are, if so this is not possible.

Your original problem appeared to be that you have no way to back out of any screen, is that solved?

Regards

http://www.xbmc4xbox.org.uk/wiki/Keymap.xml

http://kodi.wiki/view/Keymap.xml#Remote_Buttons