Thank you for your donation!


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


MoOde API available ?
#3
(01-20-2019, 05:39 PM)Tim Curtis Wrote: The scripts are self documenting, assuming the reader has a basic knowledge of BASH scripting and the components being manipulated by the scripts.

maint.sh - Executed every 6 hours by worker.php. Performs maintenance tasks e.g. clearing the logs
restart.sh - Executed when user selects Reboot or Shutdown from the UI
slpower.sh - Executed by Squeezelite renderer when LMS power button is clicked
spotevent.sh - Executed by Spotify renderer when librespot emits an event e.g. 'play', 'stop'
spspost.sh - Executed by shairport-sync (Airplay renderer) before playback is started
spspre.sh - Executed by shairport-sync after playback has been stopped
wrkready.sh - Executed by worker.php at the end of moOde startup sequence

Ahh - sh... spotevent.sh is only fired when using spotify ... I had the feeling that's the case. Anyhow - thanks for the description. I think that is useful to know
Reply


Messages In This Thread
MoOde API available ? - by UpsiUps - 01-20-2019, 04:03 PM
RE: MoOde API available ? - by Tim Curtis - 01-20-2019, 05:39 PM
RE: MoOde API available ? - by UpsiUps - 01-20-2019, 09:08 PM
RE: MoOde API available ? - by UpsiUps - 01-31-2019, 04:21 PM
RE: MoOde API available ? - by Tim Curtis - 01-31-2019, 05:44 PM
RE: MoOde API available ? - by UpsiUps - 02-01-2019, 03:24 PM
RE: MoOde API available ? - by Tim Curtis - 02-01-2019, 05:04 PM

Forum Jump: