Unable to get working remote mappings for Home and 'Next Episode'

I am trying to configure the commands from my Harmony remote such that the ‘Guide’ button maps to the ‘Home’ functionality similar to pressing the ‘H’ key on the keyboard. I also want to enable shortcuts to skip to the next episode. I am using a RemotePi for my IR receiver.

I am starting with an updated lircd.conf file. I tried using the Philips device as outlined in the notes, but I was not able to send a command that generated home functionality. I then tried starting with the remote configured for MCE, but then used irrecord to detect the remote and program my mapping manually.

I ended up with a file with the following:

begin remote

name /storage/.config/lircd.conf
bits 13
flags RC6|CONST_LENGTH
eps 30
aeps 100

header 2667 872
one 464 424
zero 464 424
pre_data_bits 24
pre_data 0x1BFF83
gap 105909
toggle_bit_mask 0x8000
rc6_mask 0x100000000

  begin codes
      KEY_CONTEXT_MENU         0x1BDB
      KEY_EXIT                 0x1BDC
      KEY_INFO                 0x1BF0
      KEY_HOME                 0x1BD9
      KEY_PAGEUP               0x1BED
      KEY_PAGEDOWN             0x1BEC
      KEY_UP                   0x1BE1
      KEY_DOWN                 0x1BE0
      KEY_LEFT                 0x1BDF
      KEY_RIGHT                0x1BDE
      KEY_OK                   0x1BDD
      KEY_REWIND               0x1BEA
      KEY_FORWARD              0x1BEB
      KEY_PREVIOUS             0x1BE4
      KEY_NEXT                 0x1BE5
      KEY_PLAY                 0x1BE9
      KEY_STOP                 0x1BE6
      KEY_PAUSE                0x1BE7
  end codes

end remote

I programmed KEY_HOME based on the keypress when I hit ‘Guide’ and KEY_NEXT based on when I hit >>. However, what I see is that the keys for KEY_PAGEUP, KEY_UP and KEY_NEXT all behave the same, which is to skip to the next chapter (it seems) during playback instead of to the next episode. When I hit Guide it goes up one level similar to my programming for KEY_EXIT.

Should lircd.conf be all I need to apply custom settings for my configured buttons? Is there any way to tell in logs which key presses were received (and which KEY_XXX) mapping was executed? Do I also need a remote.xml or lircmap.xml? The how-to that used the Phillips DVD only configured lircd.conf.

Thanks for any assistance.

I verified via irw that I do see KEY_HOME, KEY_NEXT and KEY_PREVIOUS sent for my remote keys. However, the mapping from these remote keys to RasPlex actions is not known to me. The other examples suggest that sending the correct key name should have been sufficient.

I tried creating a Lircmap.xml to control the remote to Plex mappings. However, for this mapping it wasn’t clear which XBMC command names to use. I tried next_track, prev_track, and browser_home and that didn’t work.