fastfix, mpc 0.33 can't status
This commit is contained in:
parent
2ddab7cc39
commit
e94df854a3
@ -3,7 +3,8 @@
|
||||
: "${1?How to use: $0 minutes}"
|
||||
|
||||
var_sec=$((${1} * 60 ))
|
||||
var_vol=$(mpc status %volume% | tr -d ' ,%')
|
||||
# var_vol=$(mpc status %volume% | tr -d ' ,%')
|
||||
var_vol=$(mpc volume | tr -d '[:punct:], ,[:alpha:]')
|
||||
time_step=$(( "$var_sec" / 12 ))
|
||||
vol_step=$(( "$var_vol" /12 ))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user