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.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to