mirror of https://github.com/Syncplay/syncplay
removed unused callbacks
This commit is contained in:
parent
c871cd8837
commit
a97e43a314
|
@ -18,9 +18,6 @@ class MPCHCAPIPlayer(BasePlayer):
|
||||||
self._mpcApi.callbacks.onUpdatePlaystate = lambda _: self.__unlockAsking()
|
self._mpcApi.callbacks.onUpdatePlaystate = lambda _: self.__unlockAsking()
|
||||||
self._mpcApi.callbacks.onGetCurrentPosition = lambda _: self.__onGetPosition()
|
self._mpcApi.callbacks.onGetCurrentPosition = lambda _: self.__onGetPosition()
|
||||||
self._mpcApi.callbacks.onVersion = lambda _: self.__versionUpdate.set()
|
self._mpcApi.callbacks.onVersion = lambda _: self.__versionUpdate.set()
|
||||||
self._mpcApi.callbacks.onSeek = None
|
|
||||||
self._mpcApi.callbacks.onUpdatePath = None
|
|
||||||
self._mpcApi.callbacks.onUpdateFileDuration = None
|
|
||||||
self.__switchPauseCalls = False
|
self.__switchPauseCalls = False
|
||||||
self.__preventAsking = threading.Event()
|
self.__preventAsking = threading.Event()
|
||||||
self.__positionUpdate = threading.Event()
|
self.__positionUpdate = threading.Event()
|
||||||
|
|
Loading…
Reference in New Issue