[mythtv] Question: let mediamonitor not restart same module (autoplay CDs)?

J. Donavan Stanley jdonavan at jdonavan.net
Mon Feb 28 10:37:06 UTC 2005


Herman Kuiper wrote:

> One question though: I've noticed that if I insert an audio CD, the 
> mediamonitor will close MythMusic, and go to the music menu. I changed 
> that behaviour such that if autoplay is on, it will not show the menu, 
> but immediately go to playing music. However, if I already *was* in 
> the music play module, this still happens, which seems a bit silly.
>
> Is there an "official" way to unregister a module? If so, I could 
> unregister when autoplay is on, and I'm in the play module, and 
> re-enable once I exit the module. Even better would be to disable the 
> switch if the target module is already running, but I don't know if 
> somebody keeps track is this.

Ideally, the currently active handler would be recorded and a different 
course of action taken if the current handler matches the handler for 
the media.  As for the back log, if you'd care to submit a patch that 
implements this "active handler" stuff, I'd be happy to apply it before 
the week is out.


More information about the mythtv-dev mailing list