kaaholst / android-squeezer

Remote control for your Logitech Media Server ("Squeezeserver" etc) and players.
Apache License 2.0
75 stars 15 forks source link

Feature request: add command to restart LMS server #756

Closed sean-e closed 1 year ago

sean-e commented 2 years ago

I sometimes have to restart my Logitech Music Server. Currently, I do this via telnet to the server and executing the restartserver command. It would be helpful if Squeezer could execute the command via the addition of a restart command on either the Settings | Advanced | Squeezebox Information page or the Settings | Advanced | Squeezebox Information | Logitech Media Server page.

The restartserver command is documented in the Command Line Interface help page at <your_server>/html/docs/help.html.

viertelb commented 1 year ago

It should only be possible with username and password activated for LMS. Otherwise people would be able to randomply connect to other people's LMSs and restart the server. But I am not sure this is possible since we cannot test if a given password is the correct one, if there is no password set on the server.

thingswelostinthefire commented 1 year ago

To do that I use the "SvrPowerControl" plugin installed on LMS, it works flawlessly also through Squeezer.

It can be configured for activate/deactivate the LMS server in sync with the Squeezebox:

sean-e commented 1 year ago

Thanks -- I wasn't aware of it: https://github.com/gharris999/SrvrPowerCtrl

kaaholst commented 1 year ago

@thingswelostinthefire Thanks! @sean-e I hope you're happy with this, so closing this. If you still request the command to restart LMS, feel free to reopen.