From a6479d17460e832b19a74bbe1cf7218cf855b258 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 22 Mar 2024 14:51:08 +0100 Subject: [PATCH] fix seek in sax --- player/player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/player/player.py b/player/player.py index 62a6579..f437540 100755 --- a/player/player.py +++ b/player/player.py @@ -110,6 +110,7 @@ class Sync(Thread): now = datetime.now() offset = (now - datetime.strptime(now.strftime(fmt), fmt)).total_seconds() if self.sax: + self.sax.wait_until_playing() self.sax.seek(offset, 'absolute', 'exact') self.sax.pause = True position = 0