Fix position not changing when playlist changed in mpv error (#618)
This commit is contained in:
parent
2cc95d6ef9
commit
412626471f
@ -183,6 +183,9 @@ class MpvPlayer(BasePlayer):
|
||||
self._listener.sendLine(["print_text", '"ANS_{}=${{{}}}"'.format(property_, propertyID)])
|
||||
|
||||
def getCalculatedPosition(self):
|
||||
if self._recentlyReset():
|
||||
return 0
|
||||
|
||||
if self.fileLoaded == False:
|
||||
self._client.ui.showDebugMessage(
|
||||
"File not loaded so using GlobalPosition for getCalculatedPosition({})".format(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user