fixed cover-grid selection and queuing behavior, added "clear queue" button

This commit is contained in:
2026-02-20 13:16:13 -05:00
parent 560ab3a3b5
commit 7bc85af5f4
10 changed files with 638 additions and 141 deletions
+9
View File
@@ -294,6 +294,15 @@ func (q *Queue) registerEventHandlers() {
q.handleMoveQueueTracks(data...)
},
)
runtime.EventsOn(
q.ctx,
events.RequestClearQueue,
func(_ ...any) {
q.logger.Info("Received RequestClearQueue")
q.Clear()
},
)
}
// handleSetQueue processes the RequestSetQueue event payload.