diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index 5e9671f64..3ce38540c 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -114,7 +114,9 @@ class MediaController(object): log.debug(u'Importing controller %s', modulename) try: __import__(modulename, globals(), locals(), []) - except ImportError: + # On some platforms importing vlc.py might cause + # also OSError exception. (e.g. Mac OS X) + except (ImportError, OSError): log.warn(u'Failed to import %s on path %s', modulename, path) controller_classes = MediaPlayer.__subclasses__()