I am using MusicMagicServer with some success on cc4 and I am using an
improvised init script to start it at boot before ss. This at least
allows me to use "service MusicMagicServer start|stop|restart".
Also I did not have to remove the entry in the slimserver music
location field, so I can still browse the music folder.
MusicMagicServer is still a bit rough, if you start from terminal there
is no return message it just locks up and if you close the terminal
window it stops! also it doesn't seem to be able to be run as a
daemon.
The script is below if it is any use anyone.
Doug.
****************************************************
#!/bin/sh
#
# Startup script for MusicMagicServer.
#
# chkconfig: 2345 58 40
#
# description: MusicIP server produces song mixes for slimserver.
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
RETVAL=0
# See how we were called.
case "$1" in
start)
echo -n $"Starting MusicMagicServer: "
/usr/local/MusicIP/MusicMagicMixer/MusicMagicServer start &
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/MusicMagicServer
;;
stop)
echo -n $"Stopping MusicMagicServer: "
killproc MusicMagicServer
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/MusicMagicServer
;;
status)
status MusicMagicServer
RETVAL=$?
;;
restart)
$0 stop
$0 start
RETVAL=$?
;;
*)
echo "Usage: $prog {start|stop|restart|status}"
exit 1
esac
exit $RETVAL
*********************************************************************
--
Dougal
Headless Mini-ITX
Clarkconnect 4.1, MPlayer, MusicMagicServer
SlimServer Version: 6.5.3 - 12376 - RedHat - EN - utf8
Perl Version: 5.8.5 i386-linux-thread-multi
MySQL Version: 5.0.21-standard
SB3 >Derek Shek DAC >Graham Slee Solo >HD650
------------------------------------------------------------------------
Dougal's Profile: http://forums.slimdevices.com/member.php?userid=5489
View this thread: http://forums.slimdevices.com/showthread.php?t=37444
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss