A collection of commands that might be useful for different player OSs
Volumio documentation for creating commands
volumio stop
volumio play
volumio pause
volumio volume 15
Commands to set the volume can be generated with the vols_conf.py script
Play a radio station from a URL (http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one)
curl localhost:3000/api/v1/replaceAndPlay -H "Content-Type: application/json" -d '{"item":{"service":"webradio","uri":"http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one"}}'
mpc -q stop
mpc -q play
mpc -q pause
mpc volume 15 && sqlite3 /var/local/www/db/moode-sqlite3.db "UPDATE cfg_system SET value='15' WHERE param='volknob'"
Commands to set the volume can be generated with the vols_conf.py script
Play a radio station from a URL (http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one)
mpc -q clear && mpc -q add http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one && mpc -q play
mpc -q stop
mpc -q play
mpc -q pause
mpc -q volume 15
Commands to set the volume can be generated with the vols_conf.py script
Play a radio station from a URL (http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one)
mpc -q clear && mpc -q add http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one && mpc -q play