reset tick

This commit is contained in:
j 2024-04-04 23:37:29 +01:00
parent 3c9f200fdd
commit 1ac5574bfc
1 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,7 @@ class Sync(Thread):
if args[0] != 'd-':
return
self.is_paused = False
self._tick = 0
self.mpv.pause = False
if self.sax:
self.sax.pause = False
@ -312,6 +313,7 @@ class Sync(Thread):
self.mpv.pause = True
elif data[0] == "play":
self.is_paused = False
self._tick = 0
self.mpv.pause = False
else:
self.main.time_pos = float(data[0])