Add mplayer.exe expandedpath
This commit is contained in:
parent
3aba8e926d
commit
33f21ecb87
@ -159,6 +159,9 @@ class MplayerPlayer(BasePlayer):
|
||||
|
||||
@staticmethod
|
||||
def getExpandedPath(playerPath):
|
||||
if(os.path.isfile(playerPath + u"\\mplayer.exe")):
|
||||
playerPath += u"\\mplayer.exe"
|
||||
return playerPath
|
||||
if os.access(playerPath, os.X_OK):
|
||||
return playerPath
|
||||
for path in os.environ['PATH'].split(':'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user