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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user