01-08-2020, 04:44 PM
(01-08-2020, 05:56 AM)smolesen Wrote:(01-06-2020, 01:31 PM)Tim Curtis Wrote: MPD commands can be sent via
Code:http://moode/command?cmd=
Example:
http://moode/command?cmd=stop
Volume commands via
Code:http://moode/command?cmd=vol.sh
pi@rp3:~ $ /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
Examples:
http://moode/command?cmd=vol.sh -up 1
http://moode/command?cmd=vol.sh -dn 1
http://moode/command?cmd=vol.sh 15
http://moode/command?cmd=vol.sh -mute
Yes, it's something like that I'm looking for, something in the line of:
http://mymoode/command?cmd=playradio -station 'somefolder/somestation.pls'
can that be done?
/Søren
Probably, but there would need to be more demand for such a feature. Keep in mind that features that make it to the TODO list compete with one another for developer time and they compete with bug fixes and updates.
-Tim