07-22-2018, 05:46 PM
Bird Walk ;-)
https://www.youtube.com/watch?v=L81maEBjvgc
There are two WebAPI's for moOde
1. MPD command API
http://moode/command?cmd=play
http://moode/command?cmd=pause
2. Volume API
http://moode/command?cmd=vol.sh 10
Here is the help for vol.sh
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
-Tim
https://www.youtube.com/watch?v=L81maEBjvgc
There are two WebAPI's for moOde
1. MPD command API
http://moode/command?cmd=play
http://moode/command?cmd=pause
2. Volume API
http://moode/command?cmd=vol.sh 10
Here is the help for vol.sh
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
-Tim