From 3aba8e926d989770128023724a15669e35d8df8f Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 13 Oct 2013 22:35:35 +0100 Subject: [PATCH] Add vlc.exe expandedpath --- syncplay/players/vlc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syncplay/players/vlc.py b/syncplay/players/vlc.py index c4d9c9d..9a6637d 100644 --- a/syncplay/players/vlc.py +++ b/syncplay/players/vlc.py @@ -175,6 +175,9 @@ class VlcPlayer(BasePlayer): @staticmethod def getExpandedPath(playerPath): + if(os.path.isfile(playerPath + u"\\vlc.exe")): + playerPath += u"\\vlc.exe" + return playerPath if os.access(playerPath, os.X_OK): return playerPath for path in os.environ['PATH'].split(':'):