« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/socket.js
diff options
context:
space:
mode:
Diffstat (limited to 'socket.js')
-rw-r--r--socket.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.js b/socket.js
index 0cf9cc0..19fecb9 100644
--- a/socket.js
+++ b/socket.js
@@ -592,7 +592,7 @@ function attachBackendToSocketClient(backend, client, {
             return
           case 'queue':
             if (QP) silenceEvents(QP, ['queue'], () => QP.queue(
-              restoreNewItem(command.topItem),
+              restoreNewItem(command.topItem, getPlaylistSources()),
               isItemRef(command.afterItem) ? restoreNewItem(command.afterItem, getPlaylistSources()) : command.afterItem,
               {
                 movePlayingTrack: command.opts.movePlayingTrack