mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-28 17:00:23 +00:00
Add getIconPath to MPC
This commit is contained in:
parent
e01580f67c
commit
a40c768698
@ -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)):
|
||||
|
Loading…
Reference in New Issue
Block a user