mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-02 20:21:55 +00:00
Fix MPC 'LRESULT' error (#664)
This commit is contained in:
parent
0c0df605d5
commit
2fcb1e4f79
@ -283,6 +283,7 @@ class MpcHcApi:
|
||||
pCDS = ctypes.cast(lparam, self.__PCOPYDATASTRUCT)
|
||||
# print "API:\tin>\t 0x%X\t" % int(pCDS.contents.dwData), ctypes.wstring_at(pCDS.contents.lpData)
|
||||
self.__mpcApi.handleCommand(pCDS.contents.dwData, ctypes.wstring_at(pCDS.contents.lpData))
|
||||
return 0
|
||||
|
||||
def SendCommand(self, cmd, message=''):
|
||||
# print "API:\t<out\t 0x%X\t" % int(cmd), message
|
||||
@ -522,4 +523,4 @@ class MPCHCAPIPlayer(BasePlayer):
|
||||
return path
|
||||
elif os.path.isfile(path + "\\" + mpc_executable_filename):
|
||||
path += "\\" + mpc_executable_filename
|
||||
return path
|
||||
return path
|
||||
|
Loading…
Reference in New Issue
Block a user