« 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--backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.js b/backend.js
index b8071d1..d88c779 100644
--- a/backend.js
+++ b/backend.js
@@ -319,7 +319,7 @@ class Backend extends EventEmitter {
 
   skipIfCurrent(track) {
     if (track === this.playingTrack) {
-      this.playNextTrack(track)
+      this.playNext(track)
     }
   }