Possibly better OSX support for VLC

This commit is contained in:
Etoh 2013-10-07 21:40:09 +01:00
parent 71fed2b2b9
commit a43ba210a4

View File

@ -216,6 +216,8 @@ class VlcPlayer(BasePlayer):
return False
if sys.platform.startswith('linux'):
playerController.vlcIntfPath = "/usr/lib/vlc/lua/intf/"
elif sys.platform.startswith('darwin'):
playerController.vlcIntfPath = "/Applications/VLC.app/Contents/MacOS/share/lua/intf/"
else:
playerController.vlcIntfPath = os.path.dirname(playerPath).replace("\\","/") + "/lua/intf/" # TODO: Make Mac version use /Applications/VLC.app/Contents/MacOS/share/lua/intf/
playerController.vlcModulePath = playerController.vlcIntfPath + "modules/?.luac"