From 712bc5f54fe6c595fccfac9c14dbc080d292a532 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 21 Dec 2019 22:03:17 +0000 Subject: [PATCH] Add VLC path to PATH environment variable --- openlp/core/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/app.py b/openlp/core/app.py index e35465a3f..67017cc44 100644 --- a/openlp/core/app.py +++ b/openlp/core/app.py @@ -389,8 +389,8 @@ def main(): # Path to libvlc and the plugins os.environ['PYTHON_VLC_LIB_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir) / 'vlc' / 'libvlc.dll') os.environ['PYTHON_VLC_MODULE_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir) / 'vlc') + os.environ['PATH'] += ';' + str(AppLocation.get_directory(AppLocation.AppDir) / 'vlc') log.debug('VLC Path: {}'.format(os.environ['PYTHON_VLC_LIB_PATH'])) - log.debug('VLC Plugins Path: {}'.format(os.environ['PYTHON_VLC_MODULE_PATH'])) # Initialise the Registry Registry.create() Registry().register('application', application)