diff options
author | Florrie <towerofnix@gmail.com> | 2020-02-06 17:40:18 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-02-06 17:40:18 -0400 |
commit | 9a0316cf5214f1eb9f13651c9b3f7cc852ee1bd1 (patch) | |
tree | 34b05b6e5f30528aafbb02491a2be10d768d21f1 | |
parent | 9ee3dca97a505f7e984517d7d393c993a8961ced (diff) |
fix volume
-rw-r--r-- | players.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/players.js b/players.js index cc0006c..f2cced2 100644 --- a/players.js +++ b/players.js @@ -168,7 +168,7 @@ module.exports.ControllableMPVPlayer = class extends module.exports.MPVPlayer { this.volume = value this.volume = Math.max(0, this.volume) this.volume = Math.min(100, this.volume) - this.sendCommand('set', 'volume', this.volue) + this.sendCommand('set_property', 'volume', this.volume) } togglePause() { |