forked from openlp/openlp
More clear comment. Unfortunately there is no need to change few lines of code between these two changes, to include these into diff. That would be self-explanantory.
This commit is contained in:
parent
29207d8dff
commit
98d8b1f590
@ -67,8 +67,9 @@ class MediaPlugin(Plugin):
|
|||||||
self.serviceManager.supportedSuffixes(extension[1:])
|
self.serviceManager.supportedSuffixes(extension[1:])
|
||||||
log.info(u'MediaPlugin: %s extensions: %s' % (mimetype,
|
log.info(u'MediaPlugin: %s extensions: %s' % (mimetype,
|
||||||
u' '.join(extensions)))
|
u' '.join(extensions)))
|
||||||
# Add all extensions listed in self.additional_extensions, to hack
|
# Add all extensions listed in self.additional_extensions, which
|
||||||
# away mimetypes' shortcomings.
|
# have this mimetype, previously claimed to be supported by Phonon,
|
||||||
|
# to hack away mimetypes' shortcomings in providing some extensions.
|
||||||
if mimetype in self.additional_extensions.keys():
|
if mimetype in self.additional_extensions.keys():
|
||||||
for extension in self.additional_extensions[mimetype]:
|
for extension in self.additional_extensions[mimetype]:
|
||||||
ext = u'*%s' % extensions
|
ext = u'*%s' % extensions
|
||||||
|
Loading…
Reference in New Issue
Block a user