diff --git a/syncplay/players/mpc.py b/syncplay/players/mpc.py index b61d00f..8c703b2 100644 --- a/syncplay/players/mpc.py +++ b/syncplay/players/mpc.py @@ -477,9 +477,15 @@ class MPCHCAPIPlayer(BasePlayer): if(os.path.isfile(path)): if(path.lower().endswith(u'mpc-hc.exe'.lower()) or path.lower().endswith(u'mpc-hc64.exe'.lower())): return path + if(os.path.isfile(path + u"mpc-hc.exe")): + path += u"mpc-hc.exe" + return path if(os.path.isfile(path + u"\\mpc-hc.exe")): path += u"\\mpc-hc.exe" return path + if(os.path.isfile(path + u"mpc-hc64.exe")): + path += u"mpc-hc64.exe" + return path if(os.path.isfile(path + u"\\mpc-hc64.exe")): path += u"\\mpc-hc64.exe" - return path \ No newline at end of file + return path