adjusted frontend event handling to optimize json payload size for different events, fixed incorrect behavior when currently playing track is removed from queue

This commit is contained in:
2026-02-18 00:49:29 -05:00
parent be6f4e9764
commit 026ab1c333
14 changed files with 2221 additions and 574 deletions
@@ -95,6 +95,10 @@ export class QueueController implements ReactiveController {
queueStore.removeFromQueue(position);
}
removeTracksFromQueue(positions: number[]): void {
queueStore.removeTracksFromQueue(positions);
}
addTracksToQueue(filePaths: string[]): void {
queueStore.addTracksToQueue(filePaths);
}