diff options
Diffstat (limited to 'backend.js')
-rw-r--r-- | backend.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend.js b/backend.js index fe7014b..e75b1a8 100644 --- a/backend.js +++ b/backend.js @@ -283,6 +283,11 @@ class QueuePlayer extends EventEmitter { return focusItem } + replaceAllItems(newItems) { + this.queueGrouplike.items = newItems + this.emitQueueUpdated() + } + clearQueuePast(track) { const { items } = this.queueGrouplike const index = items.indexOf(track) + 1 |