« get me outta code hell

fix volume - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-02-06 17:40:18 -0400
committerFlorrie <towerofnix@gmail.com>2020-02-06 17:40:18 -0400
commit9a0316cf5214f1eb9f13651c9b3f7cc852ee1bd1 (patch)
tree34b05b6e5f30528aafbb02491a2be10d768d21f1
parent9ee3dca97a505f7e984517d7d393c993a8961ced (diff)
fix volume
-rw-r--r--players.js2
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() {