downtime wrote:
> Thanks Antoniop,
>
> I registered as a service, but I have the same problem. As long as the
> terminal session is open the server is running, but when I close the
> session, the server stops. Also, while the service is running, LMS
> doesn't see it. Spicefly Sugarcube is running but it all of the tracks
> it chooses are random.
>
> I have these services running on a Linux box and a Mac with no problems.
> I just can't get it working properly on the RP3.
>
> Thanks anyway for your help.
Sorry if it didn't help. Maybe I have some other clues:
MusicIP must be started before LMS. If you did not try it, make sure it
is:
stop LMS:
Code:
--------------------
sudo service logitechmediaserver stop
--------------------
start mmserver with the script:
Code:
--------------------
/home/pi/MusicMagicMixer/mmserver start
--------------------
wait for a moment, check that MusicIP server is started then restart LMS
Code:
--------------------
sudo service logitechmediaserver start
--------------------
Also make sure mmserver script is ok. It's like the "&" is missing at
the end of the launch command line.
Mine is the following:
Code:
--------------------
#! /bin/sh
# NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.
USER=pi
# PATH TO THE MUSICMAGICMIXERSERVER
export MUSICHOME=/home/$USER/MusicMagicMixer/
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
--------------------
LMS 7.9.0 - 1436071638
on Linux Mageia 5
1 SB3, 1 radio, 1 touch
Plugins : Trackstat, IR Blaster, Smartmix, MusicIP, ...
------------------------------------------------------------------------
Antoniop's Profile: http://forums.slimdevices.com/member.php?userid=39292
View this thread: http://forums.slimdevices.com/showthread.php?t=106958
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins