Page 1 of 1

Stopping app via CLI or script

Posted: Thu Apr 10, 2014 6:47 pm
by Hooky
Does anyone know how to stop Soundsgood from running via a command over SSH or a script?

I've tried using /CONTROL/Start-stop.sh stop, and this doesn't seem to stop everything the way it does when you click the 'off' button in the Appcentral web interface.

Many thanks

Re: Stopping app via CLI or script

Posted: Thu Apr 10, 2014 7:21 pm
by orion
How about stop, then start again (i.e., disable soundsgood and enable soundsgood)?

Re: Stopping app via CLI or script

Posted: Thu Apr 10, 2014 9:08 pm
by Hooky
Hey, I'm not really sure what you mean? Using that Start-stop.sh script function, you can seemingly start and stop it... but it doesn't 'properly' stop everything that it does, all the processes or whatever...

Are you saying there's a command 'disable soundsgood'?

Re: Stopping app via CLI or script

Posted: Fri Apr 11, 2014 2:43 pm
by orion
Hooky wrote:Hey, I'm not really sure what you mean? Using that Start-stop.sh script function, you can seemingly start and stop it... but it doesn't 'properly' stop everything that it does, all the processes or whatever...

Are you saying there's a command 'disable soundsgood'?
Oh, I mean "./start-stop.sh stop" and "./start-stop.sh start". However, after I tried, it does not work. When I selected "enable local audio output", "./start-stop.sh stop" can stop the current music. But the web cgi (from my connected PC that running soundsgood) will play the next music in the playlist. It means that soundsgood is actually running on client side, rather than NAS.
Anyway, I think it's a feasible to stop soundsgood at NAS side (not current version at least, I think). And you can send a feature request to asustor.

Re: Stopping app via CLI or script

Posted: Fri Apr 11, 2014 7:38 pm
by Hooky
Ok, thanks for checking. And yes, I think they'll have an email coming from me.