openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #06949
[Merge] lp:~mahfiaz/openlp/extensions into lp:openlp
mahfiaz has proposed merging lp:~mahfiaz/openlp/extensions into lp:openlp.
Requested reviews:
Raoul Snyman (raoul-snyman)
Tim Bentley (trb143)
For more details, see:
https://code.launchpad.net/~mahfiaz/openlp/extensions/+merge/53121
Hack to add missing extensions, which are supported, a often reported thing.
A closer look to get the hardcoded mimetype → extensions table right: https://bugs.launchpad.net/openlp/+bug/724385
--
https://code.launchpad.net/~mahfiaz/openlp/extensions/+merge/53121
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/media/mediaplugin.py'
--- openlp/plugins/media/mediaplugin.py 2011-03-11 22:04:26 +0000
+++ openlp/plugins/media/mediaplugin.py 2011-03-12 10:02:58 +0000
@@ -82,7 +82,7 @@
# by providing possibly missing extensions.
if mimetype in self.additional_extensions.keys():
for extension in self.additional_extensions[mimetype]:
- ext = u'*%s' % extensions
+ ext = u'*%s' % extension
if ext not in list:
list.append(ext)
self.serviceManager.supportedSuffixes(extension[1:])
Follow ups