Browse Source

fixed mpd_set_volume function

Toastie 4 years ago
parent
commit
ba5802fce9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rfidac/data/_mpd_helper

+ 1 - 1
rfidac/data/_mpd_helper

@@ -52,7 +52,7 @@ function mpd_vol_max {
 
 
 function mpd_set_volume {
 function mpd_set_volume {
   if [ -n "$1" ]; then # non-zero length
   if [ -n "$1" ]; then # non-zero length
-    $mpc volume $value
+    $mpc volume $1
   fi
   fi
 }
 }