Jamie Hockin What's weird about your solution is that it doesn't use the VLC app's location either...
vlc_dir = AppLocation.get_directory(AppLocation.AppDir) / 'vlc.app/Contents/MacOS'
In this case, AppLocation.get_directory(AppLocation.AppDir)
actually points to OpenLP's app directory (specifically, the top level OpenLP.app
, if I remember correctly). So the path in your example above literally does not exist.
When I changed the location to point to /Applications/VLC.app/...
it throws an error about not being able to look up the other library bundled with VLC.
Additionally, if that file does not exist, then OpenLP lets the python-vlc do the lookup automatically. So in theory, it should work on anyone's computer that has VLC installed in the /Applications
directory.