Lircmap.xml changes in 1.7.1?

Just wondering if there was any changes to the lircmapping in the latest version?

I got the OTA update last night and after that the Menu button on my apple remote doesn’t work as a back button anymore, instead it shows a menu (doh! :D)
should I change KEY_MENU to KEY_MENU instead?

I’ll answer my own post if anyone else run into the same problem as I did.

SSH into your rasplex and run
nano /storage/.plexht/userdata/Lircmap.xml
Replace the line
<menu>KEY_MENU</menu>
with
<back>KEY_MENU</back>

ctrl-x and save/overwrite then reboot and everything works again.

@Naesstrom said:
I’ll answer my own post if anyone else run into the same problem as I did.

SSH into your rasplex and run
nano /storage/.plexht/userdata/Lircmap.xml
Replace the line
<menu>KEY_MENU</menu>
with
<back>KEY_MENU</back>

ctrl-x and save/overwrite then reboot and everything works again.

Hi Naesstrom… I fresh installed rasplex 1.7.1 on my raspberry pi3 and hooked up an ir receiver in order for my apple remote (A1294) to work. I followed the official installation guide from this forum and all went smoothly. But I have almost the same problem with you. The “KEY_MENU” button doesn’t give the “stop” command while a movie is playing, but instead it shows the info bar. I made the modification you suggested but the problem still exists. Do you have any idea what the problem might be? Thx in advance.

@efthk23 said:

@Naesstrom said:
I’ll answer my own post if anyone else run into the same problem as I did.

SSH into your rasplex and run
nano /storage/.plexht/userdata/Lircmap.xml
Replace the line
<menu>KEY_MENU</menu>
with
<back>KEY_MENU</back>

ctrl-x and save/overwrite then reboot and everything works again.

Hi Naesstrom… I fresh installed rasplex 1.7.1 on my raspberry pi3 and hooked up an ir receiver in order for my apple remote (A1294) to work. I followed the official installation guide from this forum and all went smoothly. But I have almost the same problem with you. The “KEY_MENU” button doesn’t give the “stop” command while a movie is playing, but instead it shows the info bar. I made the modification you suggested but the problem still exists. Do you have any idea what the problem might be? Thx in advance.

What section of the xml did you add it? Needs to be in fullscreen or global subsections.

@benjaminwolf said:

@efthk23 said:

@Naesstrom said:
I’ll answer my own post if anyone else run into the same problem as I did.

SSH into your rasplex and run
nano /storage/.plexht/userdata/Lircmap.xml
Replace the line
<menu>KEY_MENU</menu>
with
<back>KEY_MENU</back>

ctrl-x and save/overwrite then reboot and everything works again.

Hi Naesstrom… I fresh installed rasplex 1.7.1 on my raspberry pi3 and hooked up an ir receiver in order for my apple remote (A1294) to work. I followed the official installation guide from this forum and all went smoothly. But I have almost the same problem with you. The “KEY_MENU” button doesn’t give the “stop” command while a movie is playing, but instead it shows the info bar. I made the modification you suggested but the problem still exists. Do you have any idea what the problem might be? Thx in advance.

What section of the xml did you add it? Needs to be in fullscreen or global subsections.

Here is a copy of my remote.xml file :

Back Stop

And a copy of my Lircmap.xml file :

KEY_UP KEY_DOWN KEY_LEFT KEY_RIGHT KEY_PLAYPAUSE KEY_MENU

Sorry…here are the true Lircmap and remote.xml files.


What must i do to use this with oPHT 1.7.1 with my Raspberry 3?

There are no Lircmap.xml file

@Naesstrom strom @efthk23 Did you get it running?

@efthk23 said:
Hi Naesstrom… I fresh installed rasplex 1.7.1 on my raspberry pi3 and hooked up an ir receiver in order for my apple remote (A1294) to work. I followed the official installation guide from this forum and all went smoothly. But I have almost the same problem with you. The “KEY_MENU” button doesn’t give the “stop” command while a movie is playing, but instead it shows the info bar. I made the modification you suggested but the problem still exists. Do you have any idea what the problem might be? Thx in advance.

Oh Im no pro at this but I never used the menu button to stop, you start and stop with the play button (its marked with a play and paus icon). Once paused you can go back with the menu button.

Can someone upload a debug log of you pressing the menu button? We need to know what OpenPHT is seeing when that happens.

@benjaminwolf Here is an Debug log with this issue for you:

Exactly in the middle of Debug logging ON and OFF

Thats what i to in this time…

Enable Debug logging
Go to Movies an Press Play
When the Movie Runs i Press the Menu Button
I am Back in Movie library
Go back to Home, See that the Playback is running
klick an “Playback” and press “PlayPause” than “Stop”
Ge back to Settings and Disable Debug logging.

Thats my lircd.conf

begin remote

  name  appleremote
  bits            8
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9048  4434
  one           586  1634
  zero          586   536
  ptrail        584
  pre_data_bits   16
  pre_data       0x77E1
  post_data_bits  8
  post_data      0x78
  gap          107001
  toggle_bit_mask 0x0

      begin codes
          KEY_UP                   0xD0
          KEY_DOWN                 0xB0
          KEY_LEFT                 0x10
          KEY_RIGHT                0xE0
          KEY_OK                   0xBA 0x20
          KEY_EXIT                 0x40
          KEY_PLAYPAUSE            0x7A 0x20
      end codes

end remote

Okay, find an working way with an custom keymap to avoid this issue…

Thats my “lircd.conf” Stored in /storage/.config/

my “lircmap.xml” Stored in /storage/.plexht/userdata

an final the “remote.xml” Stored in /storage/.plexht/userdata/keymaps/

Regards
Massaguana

Thanks, Massaguana. I’m a little unclear here. Are you saying the remote.xml resolved your issue? Or are you asking me to find a solution?

@Massaguana said:
Okay, find an working way with an custom keymap to avoid this issue…

The best solution would be if the OpenPHT Team found a solution…Until then the remote.xml can help…

I suspect that the remote.xml is deleted during an update

@Massaguana said:
The best solution would be if the OpenPHT Team found a solution…Until then the remote.xml can help…

I suspect that the remote.xml is deleted during an update
Were you using a remote.xml previously but it was deleted during the update? All my keyboard.xml files survived. I think this might be related to another change in the last build.

@benjaminwolf said:
Can someone upload a debug log of you pressing the menu button? We need to know what OpenPHT is seeing when that happens.

Feels like a stupid question but I’ve used all my google skills and still havn’t found the answer, where can I find the debug log?

Noticed now (or rather my wife did) that when playing something and pressing the menu button it brings you back to the episode screen but don’t stop the media from playing :smiley:
Earlier the menu button worked like this, if something was playing and you pressed it it brought up the plex menu with the play, pause, subs etc. one more press and the menu went away. If the media was paused and you pressed the menu button it instead exited back to the selection screen.

Log files (ensure that you enable “debug logging in Preferences → System → advanced” and try to reproduce the issue)

https://support.plex.tv/hc/en-us/articles/201165607

In general, the log file for the various Linux versions of Plex Home Theater will be found under:
~/.plexht/temp/

You need to copy either the:

plexhometheater.old

or

plexhometheater.log.old

If Rasplex/OpenPHT has restarted from crash or reboot then copy the “plexhometheater.old.log”.

If Rasplex/OpenPHT is still running while you are debugging then copy “plexhometheater.log”.

Put the contents in pastebin. To do this:

Either:

Copy the contents of the log file and paste into http://pastebin.com/ Give it a Paste Name / Title Click SUBMIT button. It will then sho wyou the resultinging paste bin page. Copy the URL (eg http://pastebin.com/a4PLs1mX) to include with your bug report.

Or:

Using a pastebin script or by copying the output of “cat” from the buffer.

A very useful way to trim down the logs is “grep -i error /(full path to logs)/plexhometheater.log” to submit only errors.

(https://sentynel.com/project/Pastebin_Script) NOTE: you can now just run the command “pastelog” and get a url to the pastebin, but this won’t work with larger log files.

Put it in a pastebin, and include the URL here.

Ah yes, found it now!

Mine was pretty huge so I filtered out only the LIRC lines here http://pastebin.com/wTxFaqSy

Just checking in to see if anyone managed to find a solution to getting the Menu button to work as both menu and back at the same time?

I think that you will run into issues if you run both commands at the same time. The better way is to program them to have different functions deppending on the menu you are.

But if you want to run two commands at the same time, make the MENU button run a script and in that script use xbmc-send to pass both commands