Skip to content

Commit

Permalink
ui: Remove the hackey event I was using for marking when a song has e…
Browse files Browse the repository at this point in the history
…nded
  • Loading branch information
jeffkaufman committed Jan 3, 2021
1 parent 928e197 commit 5e5094d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5e5094d

Please sign in to comment.