Fix another case of bug 1422761.

Fixes: https://launchpad.net/bugs/1422761
This commit is contained in:
Tomas Groth 2015-03-20 17:03:45 +00:00
parent affd6f0d85
commit 25f6fe0a59

View File

@ -523,6 +523,8 @@ class MediaController(RegistryMixin, OpenLPMixin, RegistryProperties):
if controller.media_info.file_info.isFile():
suffix = '*.%s' % controller.media_info.file_info.suffix().lower()
for title in used_players:
if not title:
continue
player = self.media_players[title]
if suffix in player.video_extensions_list:
if not controller.media_info.is_background or controller.media_info.is_background and \