Possibly better OSX support for VLC
This commit is contained in:
parent
71fed2b2b9
commit
a43ba210a4
@ -216,6 +216,8 @@ class VlcPlayer(BasePlayer):
|
|||||||
return False
|
return False
|
||||||
if sys.platform.startswith('linux'):
|
if sys.platform.startswith('linux'):
|
||||||
playerController.vlcIntfPath = "/usr/lib/vlc/lua/intf/"
|
playerController.vlcIntfPath = "/usr/lib/vlc/lua/intf/"
|
||||||
|
elif sys.platform.startswith('darwin'):
|
||||||
|
playerController.vlcIntfPath = "/Applications/VLC.app/Contents/MacOS/share/lua/intf/"
|
||||||
else:
|
else:
|
||||||
playerController.vlcIntfPath = os.path.dirname(playerPath).replace("\\","/") + "/lua/intf/" # TODO: Make Mac version use /Applications/VLC.app/Contents/MacOS/share/lua/intf/
|
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"
|
playerController.vlcModulePath = playerController.vlcIntfPath + "modules/?.luac"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user