Download MusicIP for Linux from MusicIP.com and save the file to a temp
folder e.g. ~/Desktop/MusicIP
Open a terminal Window and change to the temp folder, extract the
archive and optionally remove it:
Code:
--------------------
cd ~/Desktop/MusicIP
gzip -dc MusicMixer_x86_1.8.tgz | tar xf -
rm MusicMixer_x86_1.8.tgz
--------------------
One of the files in the archive is called "mmserver". This is the
startup script for MiP headless. It needs to be customised to reflect
your configuration and then added to your Linux boot process.
The default file looks as follows:
Code:
--------------------
#! /bin/sh
# NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.
USER=
# PATH TO THE MUSICMAGICMIXERSERVER
export MUSICHOME=
case $1 in
start)
su - $USER -c $MUSICHOME"MusicMagicServer start & > /dev/null"
echo "Running MusicMagicServer"
exit
;;
stop)
su - $USER -c $MUSICHOME"MusicMagicServer stop & > /dev/null"
echo "Stopped MusicMagicServer"
exit
;;
*)
echo "Usage: /etc/rc.d/init.d/mmserver { start | stop }"
exit
;;
esac
--------------------
"USER=" should be set to your Ubuntu login name e.g. "USER=egd".
"export MUSICHOME=" should be edited to reflect the location of your
MusicIP installation and by implication your MiP database (if you're
following this step by step it would currently become "export
MUSICHOME=/home/yourusername/Desktop/MusicIP/".
You can then copy mmserver to /etc/init.d/ as follows:
Code:
--------------------
sudo cp mmserver /etc/init.d/
--------------------
Now you need to tell Ubuntu to start MiP BEFORE Squeezecenter. Install
Boot-up-manager (BUM) and then run it (it will also appear as an entry
in your Ubuntu System/Administration menu):
Code:
--------------------
sudo apt-get install bum
sudo bum
--------------------
Click on BUM's Advanced option and navigate to its Services tab. Find
SqueezeCenter, right click on it and select "Change Start/Stop
priority". Note the numeric priority assigned to it. Hit Cancel.
Find mmserver, right click on it and select "Change Start/Stop
priority". Set the numeric priority assigned to it to a higher number
than that assigned to SqueezeCenter. Hit OK.
Restart your Ubuntu machine (if you know what you're doing you can stop
SC, start MiP and then restart SC, thus avoiding the need for a reboot,
however, a reboot is probably warranted to ensure it all works when you
start up your machine).
--
egd
Internet forums: conclusive proof depth of gene pool is indeed variable,
monkeys can be taught to cut code, and world peace is utterly
unrealistic...
------------------------------------------------------------------------
egd's Profile: http://forums.slimdevices.com/member.php?userid=3425
View this thread: http://forums.slimdevices.com/showthread.php?t=48270
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss