forked from openlp/openlp
revert suffix stuff
This commit is contained in:
parent
5b571c4f74
commit
3e2e272776
@ -372,7 +372,7 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
|
||||
return True
|
||||
for file in controller.media_info.file_info:
|
||||
if file.is_file:
|
||||
suffix = file.suffix.lower()[1:]
|
||||
suffix = '*%s' % file.suffix.lower()
|
||||
file = str(file)
|
||||
if suffix in VIDEO_EXT:
|
||||
if not controller.media_info.is_background or controller.media_info.is_background and \
|
||||
|
Loading…
Reference in New Issue
Block a user