[mythtv] epg appearing behind video overlay?

Matt Zimmerman mythtv-dev@snowman.net
Fri, 8 Nov 2002 18:04:37 -0500


On Fri, Nov 08, 2002 at 05:51:24PM -0500, Shawn Pearce wrote:

> Matt Zimmerman <mdz@debian.org> wrote:
> > For the EPG, this is a no-op (just run mythepg on the other system).
> > Viewing recorded programs should be straightforward to implement in the
> > same way, just sharing the database.
> 
> Ah, right up until I pick a program to play back.  Now it should play on
> the main screen.  Or if I am surfing the list of programs currently on
> live tv, when I pick something the main screen needs to change channels.
> So there will need to be some event sent from the EPG to the actual
> playback engine / viewer engine.

Yes, clearly.  Since this, unlike the EPG, needs to trigger action on the
set top, it might be better to run it in a fashion similar to what I
suggested for the frontend menu.

> > For the main menu, I imagine the easiest way would be to run it on the
> > set top box, but have it connect to a remote X display over the network.
> > You would need to modify it so that the Xv window is displayed locally,
> > of course.
> 
> Again, this is a great idea, but we still have to run the viewer in its
> own process so it can connect to a different X server than the main menu.
> Once that is done, I don't see how using a network event between them is
> any better/worse then having them run on the same machine.

Oh, you're running two X servers on one system?  I assumed you were using
one system as a control terminal and the other for display.

I don't know about Qt (does that portion even use Qt?), but as far as the
X11 API is concerned, there is no reason why the same process cannot
communicate with both displays simultaneously, in which case there is no
need to move it into another process.

And again, there's no need to involve the network if you're only using one
system.

-- 
 - mdz