openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #09894
Re: [Merge] lp:~crichter/openlp/media_rewrite into lp:openlp
Rather than have the MediaAPI's hardcoded (e.g. line 1095) it would be good (if possible) if you could dynamically load them and remove any direct reference to VLC/Phonon/Webkit from outside their individual classes.
This is how presentations work. It also allows someone to just drop a new py file inheriting MediaAPI in the folder and it would just work without needing to change any other code.
Presentations code:
http://bazaar.launchpad.net/~openlp-core/openlp/trunk/view/head:/openlp/plugins/presentations/presentationplugin.py#L111
--
https://code.launchpad.net/~crichter/openlp/media_rewrite/+merge/63638
Your team OpenLP Core is subscribed to branch lp:openlp.
References