From 4c915936c48c093850c935aa4f943cf6cc676b0b Mon Sep 17 00:00:00 2001 From: Etoh Date: Tue, 7 Feb 2023 20:16:43 +0000 Subject: [PATCH] Don't detect SMPlayer as mplayer2 (#584) --- syncplay/players/mplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/players/mplayer.py b/syncplay/players/mplayer.py index a46e77f..9bd1eb8 100755 --- a/syncplay/players/mplayer.py +++ b/syncplay/players/mplayer.py @@ -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