From 063ef39bd25fb1309d372ada63a2fab5f5188828 Mon Sep 17 00:00:00 2001 From: Jeff Kaufman Date: Wed, 6 Jan 2021 12:14:56 +0000 Subject: [PATCH] state: Make sure new users are up-to-date on state that is not sent every time. Fixes #163 --- server.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.py b/server.py index febead5..e29777e 100755 --- a/server.py +++ b/server.py @@ -327,8 +327,13 @@ def __init__(self, userid, name, last_heard_server_clock, delay_samples) -> None self.send("repeats", state.repeats) self.send("bpr", state.bpr) self.send("tracks", tracks) + self.send("first_bucket", state.first_bucket) if state.disable_song_video: self.send("disableSongVideo", state.disable_song_video) + if state.song_start_clock: + self.send("song_start_clock", state.song_start_clock) + if state.song_end_clock: + self.send("song_end_clock", state.song_end_clock) def allocate_twilio_token(self): token = AccessToken(secrets["twilio"]["account_sid"],