Merge branch 'add-vlc-to-path' into 'master'

Add VLC path to PATH environment variable

See merge request openlp/openlp!107
This commit is contained in:
Raoul Snyman 2019-12-21 22:03:17 +00:00
commit 9034d140bf
1 changed files with 1 additions and 1 deletions

View File

@ -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)