[mythtv] Displaying messages from mythshutdown in mythfrontend - ideas?

Matthew Wire devel at mrwire.co.uk
Mon Aug 20 08:13:39 UTC 2007


> It would be nice if there were a /programmatic/ way to pop the dialog
back down.  For my application, I'd like the dialog to go away
automatically once
> the user has inserted a DVD.  I have a process that keeps trying to
mount the
> DVD drive, but I need a way to pop the dialog back down once it succeeds.
I don't think this would be possible.  The network control message only
terminates when a value is returned (in this case button number etc.), so
there would need to be some way of telling the dialog to respond to
actions other than keypresses.  A good idea but I think probably beyond
the first implementation!
One thing that did occur to me is that there should be a configurable
timeout.
>
> A couple more potential limitations to think about:
>   Will this work while an external application (eg, mplayer or a game
> emulator)
> is running?
Nope :(  At least I don't think so, because mythfrontend will need to be
visible. The other option would be to just create a separate application
to display dialogs, but I'm not sure how well this would work since it
would need to create an instance of mythcontext, set up lirc etc and then
return focus to mythtv.

>   Will this pause the internal player when it pops up, and continue it
> when it
> pops back down?
Again, no.  Not sure I'd want it to work like this, but you could always
send a pause message via the network control before invoking the dialog.




More information about the mythtv-dev mailing list