diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index 97f6a53dc..e2c2ac066 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -62,6 +62,10 @@ def get_vlc(): :return: The "vlc" module, or None """ + if 'openlp.core.ui.media.vendor.vlc' in sys.modules: + # If VLC has already been imported, no need to do all the stuff below again + return sys.modules['openlp.core.ui.media.vendor.vlc'] + is_vlc_available = False try: if is_macosx():