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

Herman Kuiper herman at frontier.nl
Mon Feb 28 20:27:26 UTC 2005


Ok, this turned out to be rather easy :-)

Whoever wrote the mediahandler code saw this coming, as there is an 
onMediaEvent function which is called on the active dialog to check if the 
event should be handled by that dialog (or not).

By adding an onMediaEvent() to the playbackbox dialog which returns true 
when autoplay is on, no unloading/loading of MythMusic is done anymore.

Full patch for MythMusic (as well as those for MythGallery) will follow 
once I got feedback on the others.

	Herman

-----------------------------------------------------------------
Herman Kuiper - m: herman at frontier.nl - w: http://www.frontier.nl
Beech Ave 162 - 1119 PS  Schiphol-Rijk - t/f: 020-6589034/6142816


More information about the mythtv-dev mailing list