« get me outta code hell

Disable automagic track queueing, for now (see #1) - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-09-16 15:37:16 -0300
committerFlorrie <towerofnix@gmail.com>2018-09-16 15:37:16 -0300
commit586873fa41f833529ceb46b97e3f5b1cd039ccf6 (patch)
tree601846329f68d11b53ff4452492a395a57703045
parentd046cf893c1869cd529025808f4c089f6b7dfa94 (diff)
Disable automagic track queueing, for now (see #1)
-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)