Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


REST API or HTTP commands?
#2
Disconnect airplay or spotify
Code:
moodeutl -R --airplay
moodeutl -R --spotify


Play control - use any of the mpc commandsl
Code:
mpc help

Loading a radio station 
Code:
mpc load <playable URL>

Volume control
Code:
pi@rp2:~ $ /var/www/vol.sh --help
Usage: vol.sh [OPTION] [VOLUME]
Change the volume and update the knob.

With no OPTION or VOLUME, print the current volume.
With just VOLUME, set current volume to VOLUME.

-up            VOLUME  value between 1 and 100
-dn            VOLUME  value between 1 and 100
-mute          mute or unmute the volume
-restore       set volume to current knob level
--version      print the program version
--help         print this help text
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
REST API or HTTP commands? - by acresp - 07-10-2021, 07:30 PM
RE: REST API or HTTP commands? - by Tim Curtis - 07-10-2021, 09:40 PM
RE: REST API or HTTP commands? - by acresp - 07-10-2021, 09:44 PM
RE: REST API or HTTP commands? - by Tim Curtis - 07-10-2021, 09:48 PM

Forum Jump: