[mythtv] New UI code. (was: blah blah up/down arrows blah blah)
masterclc at gmail.com
Sat Apr 8 01:29:38 UTC 2006
> There's absolutely nothing that is making a plugin exit when you leave it.
> Right now, every plugin does a complete setup/teardown when it's told to
> run - but it certainly doesn't have to do that. Wouldn't be difficult at all
> to simply not tear everything down when exiting the screen and return to that
> state when coming back - the _only_ tricky part is requesting it to stop
> playing if you go into something that wants the sound device.
So without looking directly at the code, it sounds as if you could
just make a button that toggles music on/off within mythmusic. You
could call it attach/detach, and upon selecting detach, return you to
the main myth menu while still playing music. Upon returning to
mythmusic, auto-reattach, based upon PID possibly. Still the problem
exists when other sounds are wanted and music is not, and you don't
want to go back to mythmusic to stop it. Not sure how this could be
thwarted, but maybe some sort of priority setting completely
associated with mythmusic...
Eh, I might just look at MFD and stop wondering...
More information about the mythtv-dev