[mythtv] epg appearing behind video overlay?

Shawn Pearce mythtv-dev@snowman.net
Fri, 8 Nov 2002 17:51:24 -0500


Matt Zimmerman <mdz@debian.org> wrote:
> On Fri, Nov 08, 2002 at 05:15:46PM -0500, Shawn Pearce wrote:
> mythtv does open multiple windows, so it really does need a window manager,
> albeit a basic one.  After experimenting with some of the pda-oriented
> window managers like matchbox and ion, I settled on good old fvwm, using
> this config:
> 
> Style myth* CascadePlacement, NoTitle, BorderWidth 0, HandleWidth 0

Blargh.  But thanks for the fvwm config, i'll give that a shot.  Always
wondered why it had those options. :-)

> 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.

> 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.


To add to all of this, I also am going to have to either hack out a
decent aspect ratio control, or just build it into MythTV.  For
example, watching 1.66 content zoomed in a 16:9 display to fill it
vertically.  This should be able to be done by either making the MythTV
Xv window larger than the desktop and span above/below it, or putting
clipping code in MythTV to clip the frame before submitting it for
scaling in the Xv display.

-- 
Shawn.