« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index aaa877a..b0276c6 100644
--- a/ui.js
+++ b/ui.js
@@ -614,6 +614,7 @@ class AppElement extends FocusElement {
     queueIndex++
 
     if (queueIndex >= queue.items.length) {
+      /*
       const parent = track[parentSymbol]
       if (!parent) {
         return false
@@ -625,6 +626,8 @@ class AppElement extends FocusElement {
       }
       this.queueGrouplikeItem(nextItem, false)
       queueIndex = queue.items.length - 1
+      */
+      return false
     }
 
     this.playGrouplikeItem(queue.items[queueIndex], false)