change volume via web command line - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: change volume via web command line (/showthread.php?tid=1059) |
change volume via web command line - gmarins - 02-03-2019 I cannot find how to change volume using volume as an argument addressing to moode.local or so. May I ask to write this or forum page where it is explained? Are there other arguments to pass, besides the volume? RE: change volume via web command line - Tim Curtis - 02-03-2019 The web api can be accessed via Code: http://moode/command?cmd= Examples Code: http://moode/command?cmd=play Via SSH Code: pi@rp3:~ $ /var/www/vol.sh --help RE: change volume via web command line - gmarins - 02-04-2019 (02-03-2019, 01:51 PM)gmarins Wrote: I cannot find how to change volume using volume as an argument addressing to moode.local or so. May I ask to write this or forum page where it is explained? Are there other arguments to pass, besides the volume? Thank you, this is what I sought for. RE: change volume via web command line - Paccidat - 02-21-2021 (02-03-2019, 02:55 PM)Tim Curtis Wrote: The web api can be accessed via I have been using this with success for a while. I was wondering if it is possible/easy to add custom command. I need a command to restart the librespot daemon, or another way to stop spotify playback from a "shell" command (i.e. not he gui and not spotify app). I created a script spotreload in /var/www/(command), that kills librespot and then restarts it but this command does not get executed when I try to: Code: http://moode/command?cmd=spotreload So there must be something else. RE: change volume via web command line - Tim Curtis - 02-21-2021 Have a look at /var/www/command/index.php |