From 642d59d7a8a654ef3d4667330529eb86b7262bd5 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Wed, 3 Jul 2019 23:47:14 -0700 Subject: [PATCH] Change VLC paths and include VLC plugins --- openlp/core/app.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openlp/core/app.py b/openlp/core/app.py index 31a78b3f3..a42905648 100644 --- a/openlp/core/app.py +++ b/openlp/core/app.py @@ -391,7 +391,11 @@ def main(): vlc_lib = 'libvlc.dylib' elif is_win(): vlc_lib = 'libvlc.dll' - os.environ['PYTHON_VLC_LIB_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir) / vlc_lib) + # Path to libvlc + os.environ['PYTHON_VLC_LIB_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir) / 'vlc' / vlc_lib) + log.debug('VLC Path: {}'.format(os.environ['PYTHON_VLC_LIB_PATH'])) + # Path to VLC directory containing VLC's "plugins" directory + os.environ['PYTHON_VLC_MODULE_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir) / 'vlc') log.debug('VLC Path: {}'.format(os.environ['PYTHON_VLC_LIB_PATH'])) # Initialise the Registry Registry.create()