« get me outta code hell

Menubar - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/players.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-05-28 19:38:23 -0300
committerFlorrie <towerofnix@gmail.com>2019-05-28 19:38:23 -0300
commit7a1d1fe5f38d5aae55b57da2c2ee7aa6819fa467 (patch)
tree7bd6f782b5e4571bcb01c1bebac868ea0849618e /players.js
parent6f84b15e76591c4519927966c6fbcafd074ead8f (diff)
Menubar
Or the beginning of one, anyway!
Diffstat (limited to 'players.js')
-rw-r--r--players.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/players.js b/players.js
index 98fff09..a1a3a13 100644
--- a/players.js
+++ b/players.js
@@ -62,6 +62,9 @@ module.exports.MPVPlayer = class extends Player {
     if (this.isLooping) {
       opts.unshift('--loop')
     }
+    if (this.isPaused) {
+      opts.unshift('--pause')
+    }
     opts.unshift('--volume', this.volume)
     return opts
   }