[mythtv-users] EPG freeze after playing video in xine/MythVideo

chris at cpr.homelinux.net chris at cpr.homelinux.net
Mon Jan 9 01:26:47 UTC 2006

On Sat, Jan 07, 2006 at 06:13:55PM +0000, Paul Faulkner wrote:
>  It's because the mythfrontend window loses focus, so 
> if you're running it on a desktop then you can click to another window 
> and then back in the mythfrontend window and it will work again.

I used to have a similar problem when using mplayer from mythvideo.  
When the frontend is running there are actually three generations of 
mythfrontend in the 'ps' tree.  The external players get launched 
from the middle process, and it was common for mplayer to only accept 
keyboard input for a few seconds, after which the only way to stop it 
was to kill the xserver using ctl-alt-backspace.  I did some testing 
and discovered that if the external player sends back anything via 
stderr then the middle mythfrontend process would steal the focus.  
After that happened, even if I let mplayer go to the end of the file 
and exit on its own, the foreground mythfrontend *still* wouldn't get 
the focus.  The solution was to edit the external player command line 
in mythvideo to append " > /dev/null 2>&1" so that the middle myth 
wouldn't get any feedback and would therefore not steal the focus.

"When fascism comes to America, it will be wrapped in the flag and 
carrying the cross." - Sinclair Lewis (1935)

More information about the mythtv-users mailing list