I think MP could benefit from implementing an eventing architecture where application events (not .NET framework events) can be propagated to enlisted subscribers.
MP would then fire events e.g. when:
- starting
- closing
- entering a module
- playing something
- changing channels
etc.
This way integration of plug-ins would be facilitated, I believe.
Combining this approach with a script plugin would allow for a simple but powerful solution to common automation problems (e.g. "Dim the lights to 25% when I start playing a movie/DVD and at the same time power on the surround receiver and set its volume level to X").
A GUI to show current event wire-up wouldn't hurt either!
Integrating, for instance, LCD-plugins should become a whole lot easier too!
What say ye?
/Nils
MP would then fire events e.g. when:
- starting
- closing
- entering a module
- playing something
- changing channels
etc.
This way integration of plug-ins would be facilitated, I believe.
Combining this approach with a script plugin would allow for a simple but powerful solution to common automation problems (e.g. "Dim the lights to 25% when I start playing a movie/DVD and at the same time power on the surround receiver and set its volume level to X").
A GUI to show current event wire-up wouldn't hurt either!
Integrating, for instance, LCD-plugins should become a whole lot easier too!
What say ye?
/Nils