From a33f94d5af8029469b6c5fcfe334a40ab38e3800 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 8 Nov 2023 23:04:17 +0100 Subject: [PATCH] retry --- player/player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/player/player.py b/player/player.py index 497478f..5376dae 100755 --- a/player/player.py +++ b/player/player.py @@ -158,6 +158,7 @@ class Sync(Thread): data = self.sock.recvfrom(1024)[0].decode().split(" ", 1) except socket.timeout: logger.error("failed to receive data from main") + return self.read_position_main() else: self.main.time_pos = float(data[0]) self.main.playlist_current_pos = int(data[1])