« 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/players.js
diff options
context:
space:
mode:
Diffstat (limited to 'players.js')
-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() {