From 25f6fe0a594f8b9cbd3968c3f67d835e1609acf1 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Fri, 20 Mar 2015 17:03:45 +0000 Subject: [PATCH] Fix another case of bug 1422761. Fixes: https://launchpad.net/bugs/1422761 --- openlp/core/ui/media/mediacontroller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index f91c46a7d..ebd647822 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -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 \