diff --git a/syncplay/players/mpc.py b/syncplay/players/mpc.py index 8c703b2..ccaada3 100644 --- a/syncplay/players/mpc.py +++ b/syncplay/players/mpc.py @@ -466,6 +466,13 @@ class MPCHCAPIPlayer(BasePlayer): def getDefaultPlayerPathsList(): return constants.MPC_PATHS + @staticmethod + def getIconPath(path): + if(MPCHCAPIPlayer.getExpandedPath(path).lower().endswith(u'mpc-hc64.exe'.lower())): + return constants.MPC64_ICONPATH + else: + return constants.MPC_ICONPATH + @staticmethod def isValidPlayerPath(path): if(MPCHCAPIPlayer.getExpandedPath(path)):