To run LMS with the --nomysqueezebox option on a Mac when starting/stopping LMS from the System Preferences you'll need to modify a simple script.
Open the file below in your favourite text editor:
Then change just add the --nomysqueezebox switch to the slimserver.pl line. In my file it now looks like this:
Caveats:
1. This will only take effect when manually starting LMS from the System Preferences. I doubt it will work when automatically starting at boot.
2. I presume the changes will be lost on upgrade, so you'd need to re-apply the change after an upgrade.
If there's a better/cleaner way to enable this option then please feel free to point it out.
Open the file below in your favourite text editor:
Code:
/Library/PreferencePanes/Squeezebox.prefPane/Contents/Resources/start-server.shCode:
#!/bin/sh
SERVER_RUNNING=`ps -axww | grep "squeezecenter\.pl|slimp3\.pl\|slimp3d\|slimserver\.pl\|slimserver" | grep -v grep | cat`
PRODUCT_NAME=Squeezebox
LOG_FOLDER="$HOME/Library/Logs/$PRODUCT_NAME"
if [ z"$SERVER_RUNNING" = z ] ; then
if [ ! -e $LOG_FOLDER ] ; then
mkdir -p $LOG_FOLDER;
fi
if [ z"$USER" != zroot ] ; then
chown -R $USER $LOG_FOLDER
fi
cd "`dirname $0`/../server"
./slimserver.pl --nomysqueezebox --daemon $1 &> /dev/null &
fi1. This will only take effect when manually starting LMS from the System Preferences. I doubt it will work when automatically starting at boot.
2. I presume the changes will be lost on upgrade, so you'd need to re-apply the change after an upgrade.
If there's a better/cleaner way to enable this option then please feel free to point it out.