Bug #1230
closedDisable omxplayer key bindings in AutoKiosk mode.
100%
Description
The command to start omxplayer in VideoFE in AutoKiosk mode should include the following option.
--no-keys Disable keyboard input (prevents hangs for certain TTYs)
This may better allow VideoFE's key_press() handler to perform properly for skipping videos, adjusting volume, etc.
It's likely that this feature may be something we ALWAYS want to enable so that VideoFE can handle these features through dbuscontrol.sh instead.
Related issues
Updated by Hammel 10 days ago
It looks like the change should go into <videofe>/data/videofe.cfg.kiosk. Change this line
player:mp4 mkv m4v avi mov:omxplayer.bin -r %s
to this line
player:mp4 mkv m4v avi mov:omxplayer.bin --no-keys -r %s
That should disable omx from intercepting key strokes, allowing vfe to catch them instead.
Updated by Hammel 10 days ago
- Status changed from New to In Progress
- % Done changed from 0 to 40
Manually verified that adding that option to the cfg file does prevent omxplayer from exiting with ESC in AutoKiosk. No other keys do anything either.
So now we need to enable key handling in VideoFE (RM #1227) to see if we can have it send dbus messages based on keystrokes (or screen touches).
Updated by Hammel 10 days ago
- Related to Feature #1227: Need keyboard support for volume up/volume down. added