I noticed that some of the keys on my MCE remote weren’t working with Plex HTPC 1.17, specifically the Play and Pause keys. Other keys (arrows, OK etc) were working OK.
Using the suggested troubleshooting technique (launch PlexHTPC, press a non-working key on the remote, inspect the log file), I observed
May 29, 2022 16:16:54.345 [26844] DEBUG - [InputManager] Input received: source: Keyboard keycode: Media Pause:3
May 29, 2022 16:16:54.345 [26844] DEBUG - [InputManager] No match for: Media Pause
so I created a copy of the keyboard.json file in "c:\users[username]\appdata\local\plexhtpc\inputmaps\defaults" into the input maps directory and added the lines
"(Media Rewind)|R": "seek_backward",
// KAM Added the following two lines to support MCE Remote Media Keys
"(Media Play)":"play",
"(Media Pause)":"pause"
}
}
remembering to add the “,” after seek_backwards to show it is no longer the last instruction in the config.
This causes the Play and Pause buttons on the MCE remote to start working fine. It would be good if Plex included these in the default keyboard mapping file (I haven’t thoroughly checked all the keys on the remote yet to see if I need to add any others. The FF/RW seek keys were working already.
Hope this helps someone else with the same problem.
I can add these to the defaults. Can you check to see if there are any others that should be added? It’d be better to get the full set at once rather than piecemeal as they are found.
Hi Graham. Thanks! So I’ve run through all the buttons and it really looks like the only two missing are the Play and Pause keys.
As a nice to have, I’ve also been trying to work out if there is a way to get the number keys to behave like they do in WMC for entering text (ala old fashion messaging where the 1 key enters A B C etc as you press it repeatedly) - at the moment they simply enter the relevant numbers so not sure if that can be achieved in the input mapping file or if it would require a code change in the Plex search input box (which I realise is probably a lot of work).
Since my PlexHTPC updated today, I’m having a similar problem. Pause/Play doesn’t work anymore on my MCE (Logitech Harmony) remote. Before the update, it always worked without a problem. For the troubleshooting, I’ve now used the default keyboard.json (that apparently already contains the additional keymaps from this thread), but Pause/Play still won’t work for me. Strange thing is, I don’t see the “No match” entries in the logfile. You can see in the logs, that I start the movie, then I press “I” and after that I actually press play and pause multiple times on the remote before stopping the movie. However, you can only see “I” and then “Stop” in the logs, nothing relevant in between.
I’ve started the same movie on VLC and Play/Pause on the remote just works fine, so it’s not a problem of the remote.
Any idea what’s the problem here?
Edit: Sorry, uploaded the wrong logfile, now it’s the right one