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: [EMAIL PROTECTED] - w: http://www.frontier.nl Beech Ave 162 - 1119 PS Schiphol-Rijk - t/f: 020-6589034/6142816
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
