mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
feat: add event handler to process new fingerprints
This commit is contained in:
parent
8e1e34a7f5
commit
6647fa1af7
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ func serve(protocol, port string) {
|
|||
server.OnEvent("/", "totalSongs", handleTotalSongs)
|
||||
server.OnEvent("/", "newDownload", handleSongDownload)
|
||||
server.OnEvent("/", "newRecording", handleNewRecording)
|
||||
server.OnEvent("/", "newFingerprint", handleNewFingerprint)
|
||||
|
||||
server.OnError("/", func(s socketio.Conn, e error) {
|
||||
log.Println("meet error:", e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue