Hi guys,
I have somehow stumbled across how to temp fix the issue with returning to previous menu/screen and audio does not automatically stop.
I have still be experiencing the bug, in its new form - the cover art shows in the lower left of the screen with and indicator and while the audio continues.
I have been using a panasonic tv, and finally found a way to force the audio to stop when returning to menu.
The way it works is:
During a video press return/back.
Audio continues to play while on the movie particular/episode detail page.
Press return/back again
Menu goes back once and the audio stops, the cover art disappears from the bottom left.
Its quite simple:
Connect to the Raspberry Pi over ssh:
Username: root
password: rasplex
Navigate to the keyboard.xml user defined folder:
cd .plexht/userdata/keymaps
Create a script for the return and stop command:
vi script.stopcommand
import xbmcxbmc.executebuiltin(“Action(Stop)”)
xbmc.executebuiltin(“Action(PreviousMenu)”)
Then create a keyboard.xml file with the key actions you need for your CEC remote.
To create one use: vi keyboard.xml
Here is a sample of mine for a Panasonic (though I could have used simple commands rather than key ids).
The important thing to note is the plex/xbmc script call code. Below shows the command for calling the script when it is saved in the same folder as the keyboard.xml
Left Right Up Down Select ParentDir Back Info RunScript(special://masterprofile/keymaps/script.stopcommand) Select
Restart Raspberry Pi and it should work.
I hope this helps some people that are still having that issue.
Seeing as its an upstream issue and Plex still have not fixed it.
Thanks
I am here with limited coding experience for questions.
Troy.