From 5e5094d0bdaeca98144adad55761396e032b8581 Mon Sep 17 00:00:00 2001 From: Jeff Kaufman Date: Sun, 3 Jan 2021 19:50:47 +0000 Subject: [PATCH] ui: Remove the hackey event I was using for marking when a song has ended --- server.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server.py b/server.py index 33a0112..bfcfd89 100755 --- a/server.py +++ b/server.py @@ -783,10 +783,6 @@ def handle_special(query_params, server_clock, user=None, client_read_clock=None if user is not None: state.song_end_clock = user.last_write_clock - # TODO: Make a better interface for telling users that the song has ended. - insert_event("Song Ended @%s" % ( - state.song_end_clock // SAMPLE_RATE), - state.song_end_clock) else: state.song_end_clock = server_clock