[mythtv-commits] Ticket #12566: Can't exit video playback
MythTV
noreply at mythtv.org
Thu Jun 30 22:57:49 UTC 2016
#12566: Can't exit video playback
-------------------------------------+-----------------------------
Reporter: rafe101@… | Owner: jyavenard
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 0.28
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution:
Keywords: video,playback,exit | Ticket locked: 0
-------------------------------------+-----------------------------
Comment (by brett@…):
I'm using a USB keyboard / mouse.
Maybe we could get an "Stop playback" option added to the "Playback" menu
item to try to work out if the ESC is not getting to the quit code, or the
quit code is broken.
I've also implemented a workaround using xbindkeys. You need to ensure
xbindkeys is running, then place the following into the X users
~/.xbindkeysrc
{{{
#Binds F3 to call the script
"~/bin/stop-progs"
m:0x0 + c:70
F3
}}}
Then I have the executable file ~/bin/stop-progs, also note the temporary
file referenced below is removed by the .xinitrc that starts mythfrontend
in the first place
{{{
#!/bin/bash
#try a soft kill first, but if it does not respond, terminate, with
prejudice
if [[ -e '/tmp/tmp-kill-mythfrontend' ]]; then
rm /tmp/tmp-kill-mythfrontend
killall -9 mythfrontend
else
#this file is removed by .xinitrc
touch /tmp/tmp-kill-mythfrontend
killall mythfrontend
fi
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12566#comment:34>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list