MCE Remote - Play and pause buttons not defined

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.

1 Like

Thanks for this info.
This worked for me as well.

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.

1 Like

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).

That’s considerably more work to do and not something that the input mappings were indented to handle.

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

Plex HTPC.2.log (414.5 KB)

1 Like

I agree - it’s broken in a more complex way.

I can see that @gbooker02 has now included the relevant lines in keyboard.json so I deleted my customised keyboard.json. Play/Stop didn’t work.

So I tried copying the file from %localappdata\Plex HTPC\inputmaps\default to one level above where my customized file resided. Play/Stop didn’t work.

I restored my modified my modified file (which is all but identical) and no joy.

As of 1.19.1.3076 it’s broken in a more complex way.

Kevin

1 Like

I no longer have FF or REW capability (did on previous version).

I’m running MCE emulator on Flirc for my Logitech 650.

Will revert to previous version.

Edit - hmm, previous version (1.18) used to be available but no link in Update thread so installed version previous to that - 1.17. All works again.

I initially tried adding my previous mappings (which came with 1.18) but still no luck with FF and Rew, in the inputmap folder as directed.

@gbooker02 Any insight on this issue? Has this been acknowledged as a bug in the current version?

Yes, gbooker02 is working on a solution now so hopefully fixed in the next release.

1 Like

The fix in the test build I sent some users will be in the next release.

2 Likes

I did manage a workaround by using Flirc assignments. I can revert to default assignments once the new version comes out.

Thanks for fixing the issues. As minor as they may be :slight_smile:

Latest version works fantastic - thank you :ok_hand:

I too was looking into this issue and found this post; can confirm that the latest version resolves as well! Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.