mirror of https://github.com/Syncplay/syncplay
Don't detect SMPlayer as mplayer2 (#584)
Syncplay does not support SMPlayer, so it shouldn't be detected as mplayer2 or anything else.
This commit is contained in:
parent
0c8c865def
commit
0307cda850
|
@ -266,7 +266,7 @@ class MplayerPlayer(BasePlayer):
|
|||
|
||||
@staticmethod
|
||||
def isValidPlayerPath(path):
|
||||
if "mplayer" in path and MplayerPlayer.getExpandedPath(path) and "mplayerc.exe" not in path: # "mplayerc.exe" is Media Player Classic (not Home Cinema):
|
||||
if "mplayer" in path and MplayerPlayer.getExpandedPath(path) and "mplayerc.exe" not in path and "smplayer.exe" not in path: # "mplayerc.exe" is Media Player Classic (not Home Cinema) and smplayer.exe is SMPlayer:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue