Fix mpv recentlyReset sometimes being treated as true even when false
This commit is contained in:
parent
9072f224ae
commit
82adb4c592
@ -133,7 +133,7 @@ class NewMpvPlayer(OldMpvPlayer):
|
|||||||
self._client.ui.showDebugMessage("MPV not updated position so using GlobalPosition for getCalculatedPosition ({})".format(self._client.getGlobalPosition()))
|
self._client.ui.showDebugMessage("MPV not updated position so using GlobalPosition for getCalculatedPosition ({})".format(self._client.getGlobalPosition()))
|
||||||
return self._client.getGlobalPosition()
|
return self._client.getGlobalPosition()
|
||||||
|
|
||||||
if self._recentlyReset:
|
if self._recentlyReset():
|
||||||
self._client.ui.showDebugMessage("Recently reset so using self.position for getCalculatedPosition ({})".format(self._position))
|
self._client.ui.showDebugMessage("Recently reset so using self.position for getCalculatedPosition ({})".format(self._position))
|
||||||
return self._position
|
return self._position
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user