Home of the Squeezebox™ & Transporter® network music players.
Page 15 of 15 FirstFirst ... 5131415
Results 141 to 143 of 143
  1. #141
    Senior Member
    Join Date
    May 2009
    Location
    Witham, Essex. UK
    Posts
    498
    I've just found out how to carry out a start or restart of LMS on Windows and use the --nomysqueezebox parameter if anyone is interested.

    net restart squeezesrv --nomysqueezebox

    It can be used at the command line if 'cmd' is started as administrator, or by using Task Scheduler.
    start, stop and restart are all allowed as are any additional parameters.

    Bob
    1 x Touch
    1 x Radio
    1 x Boom
    1 x Intel-NUC server/squeezelite running LMS 7.91 on Windows 10
    1 X Odroid-XU4 server/squeezelite running LMS 7.91 on Ubuntu 16.04
    WaveIO USB into Lavry DA-10 DAC
    Starfish Pre-amp : Based on NAIM NAC 72
    Heavily modified NAIM NAP 250 Power-amp
    Behringer DEQ2496
    Linn Isobarik DMS

  2. #142
    Senior Member
    Join Date
    Jul 2005
    Posts
    302
    Quote Originally Posted by bobertuk View Post
    I've just found out how to carry out a start or restart of LMS on Windows and use the --nomysqueezebox parameter if anyone is interested.

    net restart squeezesrv --nomysqueezebox

    It can be used at the command line if 'cmd' is started as administrator, or by using Task Scheduler.
    start, stop and restart are all allowed as are any additional parameters.

    Bob
    Not on all versions of Windows. On my Windows 10 Pro OS, there is no "net restart" command. I use:

    net stop squeezesvc & net start squeezesvc --nomysqueezebox

    (If desired, you can use && instead; in that case, the start command won't run if LMS isn't already running)

  3. #143

    macOS

    Just in case anybody runs LMS on macOS and wants to try this - here's how I got --nomysqueezebox to work on macOS (10.12):

    When the server starts it (sometimes?) seems to reset the LMS launchagent (path in my case: ~/Library/LaunchAgents/Squeezebox.plist) to its default state deleting any modifications, i.e. --nomysqueezebox.
    So I made a copy of Squeezebox.plist, then opened the original in a text editor, "emptied", saved, and locked the file (to prevent any changes).
    I renamed the copy and added the --nomysqueezebox as program arguments:

    Code:
    <plist version="1.0">
    	<dict>
    		<key>Label</key>
    		<string>Squeezebox</string>
    		<key>RunAtLoad</key>
    		<true />
    		<key>Program</key>
    			<string>/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/slimserver.pl</string>
    		<key>ProgramArguments</key>
    		<array>
            	    <string>/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/slimserver.pl</string>
            	    <string>--nomysqueezebox</string>
    		</array>
    		<key>WorkingDirectory</key>
    		<string>/Library/PreferencePanes/Squeezebox.prefPane/Contents/server</string>
    		<key>StandardOutPath</key>
    		<string>/Users/YOUR_USERNAME/Library/Logs/Squeezebox/server.log</string>
    		<key>StandardErrorPath</key>
    		<string>/Users/YOUR_USERNAME/Library/Logs/Squeezebox/server.log</string>
    	</dict>
    </plist>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •