Does this solve the issue in 0.5.1 where EXIT does not stop the playing of the media file (audio continues)?
After researching this further, on a Mac/PC in Plex HT 1.3.6, the 'Esc' key and the 'X' key perform the same function, it stops playback and returns to the pre-play screen, pressing 'Esc' does not stop playback and return you to the Home screen.
In Rasplex, pressing 'Stop' stops playback and returns you to the pre-play screen.
Now realising that some TV remotes don’t have a ’Stop’ key only a ‘Play/Pause’ key it becomes a problem of how to completely stop media playing when returning to the pre-play screen when pressing ‘Exit’, ‘Return’, ‘Back’ or whatever your TV remote labels the key.
All you need to do is create a keymap.xml file in a basic text editor and add the followng:
Stop
and copy the file to the /storage/.plexht/userdata/keymaps directory and restart Rasplex.
This has been tested as working on my Sony Bravia TV’s.
If this doesn’t work for your TV then run tail -F /storage/.plexht/temp/plexhometheater.log via SSH and press your ‘Exit’, ‘Return’, ‘Back’ or whatever your TV remote labels the key.
The output should look like this:
12:53:19 T:1867510864 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
12:53:19 T:1867510864 DEBUG: CecLogMessage - SetCurrentButton exit (d) D:0ms cur:d
12:53:19 T:1867510864 DEBUG: CecLogMessage - key pressed: exit (d) current(ff) duration(0)
12:53:19 T:1867510864 DEBUG: CecLogMessage - Changed key exit (d) D:0ms cur:ff
12:53:19 T:1867510864 DEBUG: CecLogMessage - key pressed: exit (d, 0)
12:53:19 T:1867510864 DEBUG: PushCecKeypress - received key d8 duration 0
12:53:19 T:1867510864 DEBUG: CecLogMessage - CheckKeypressTimeout T:896.385
12:53:19 T:1867510864 DEBUG: CecLogMessage - Key exit: idle (duration:0) (d) timeout:500ms (rel:500,rep:0,prs:1,rel:0)
12:53:19 T:1975984128 DEBUG: OnKey: menu (d8) pressed, action is Back
The bit you are interested in is the 'Onkey:' entry in the last line, if your action is any different to ‘Back’ then replace and in the keymap.xml file with your action.
Hope this clarifies the situation and helps make your Rasplex experience better.
Regards