04-06-2020, 01:56 AM
(04-05-2020, 09:31 PM)Coustard Wrote: Great, thanks. Is there a list of commands available somewhere?
I can confirm, BTW, that it works fine from a Mac.
Currently, the -d "cmd=..." construct works with
- the commands available to mpc (execute 'mpc help' from the command line on a moOde player to see them), used as -d "cmd=play", etc.
- vol.sh commands (execute '/var/www/vol.sh --help' from the command line on a moOde player to see them), used as -d "cmd=vol.sh up 5", etc. [1]
Thanks for checking macOS.
Regards,
Kent
[1] A strict reading of the output from /var/www/vol.sh --help indicates the verb up|dn|mute|restore should be preceded by a minus sign. Turns out it accepts the verbs with or without the preceding minus sign.