
devel at mrwire
Aug 20, 2007, 1:13 AM
Post #5 of 5
(943 views)
Permalink
|
|
Re: Displaying messages from mythshutdown in mythfrontend - ideas?
[In reply to]
|
|
> 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. _______________________________________________ mythtv-dev mailing list mythtv-dev [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
|