diff options
author | Florrie <towerofnix@gmail.com> | 2019-05-28 19:38:23 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-05-28 19:38:23 -0300 |
commit | 7a1d1fe5f38d5aae55b57da2c2ee7aa6819fa467 (patch) | |
tree | 7bd6f782b5e4571bcb01c1bebac868ea0849618e /players.js | |
parent | 6f84b15e76591c4519927966c6fbcafd074ead8f (diff) |
Menubar
Or the beginning of one, anyway!
Diffstat (limited to 'players.js')
-rw-r--r-- | players.js | 3 |
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 } |