« 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.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 49308fe..f03c24b 100644
--- a/ui.js
+++ b/ui.js
@@ -1106,6 +1106,10 @@ class AppElement extends FocusElement {
 
     // There's no parallelization here, but like, whateeeever.
     for (const item of grouplike.items) {
+      if (!isTrack(item)) {
+        continue
+      }
+
       if (this.timestampDictionary.has(item)) {
         continue
       }