11-10-2018, 08:18 PM
(11-10-2018, 07:50 PM)Tim Curtis Wrote: Use vol.shThank you Tim. That works perfectly. I'll change my code.
Code:pi@rp3:~ $ /var/www/vol.sh -help
vol.sh with no arguments will print the current volume level
vol.sh restore will set alsa/mpd volume based on current knob setting
vol.sh <level between 0-100>, mute (toggle), up <step> or dn <step>, -help
For example:
http://moode/command?cmd=vol.sh up 1
http://moode/command?cmd=vol.sh dn 1
http://moode/command?cmd=vol.sh 25
http://moode/command?cmd=vol.sh mute
-Tim
My code was actually written for RuneAudio. I converted to Moode yesterday and everything seemed to be working...
Is there a reference for all of the correct commands that I should be using?