« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend.js')
-rw-r--r--backend.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.js b/backend.js
index 048aec5..51419da 100644
--- a/backend.js
+++ b/backend.js
@@ -544,6 +544,10 @@ class QueuePlayer extends EventEmitter {
     this.player.seekTo(seconds)
   }
 
+  seekToStart() {
+    this.player.seekToStart()
+  }
+
   togglePause() {
     this.player.togglePause()
   }