« get me outta code hell

restore queued tracks from playlist sources - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-03-16 23:38:06 -0300
committer(quasar) nebula <towerofnix@gmail.com>2021-03-16 23:38:06 -0300
commit432c11bdc4a9f22fa179e6a45eff4da8d96392b6 (patch)
tree2cd885a32a8a1acd49e30b8a6cc99760a3a4e5ef
parent3da4cb333ca2d394a625a869b774a4e8de28e1c7 (diff)
restore queued tracks from playlist sources
not sure why i didnt do this before but it Seems To Work Now!
dog champ
-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