@gv200: you should try to make a copy of the existing
/etc/init.d/squeezelite file and just change the audio-output for
squeezelite. In your init-script there might be some parameters set,
that are not correct (audio-output / LMS-IP). If you want to test the
init-script and see the output (if it's not working and you wonder why)
you may add an "echo" before the command that starts squeezelite and
remove the background option of the daemon. In your script (the one you
posted) that could be:
> echo "start-stop-daemon --start -m -p /var/run/${NAME}.pid --chuid $USER
> --exec /opt/squeezelite/squeezelite -- -z -o $OUTPUT -m $MAC -n $NAME -s
> $LMS"
Then, take the output generated by the init script and execute it in
your console.
An example for the init.d script of squeezelite that comes with Max2Play
(copy this one to /etc/init.d/squeezelite2):
>
> #just change the existing line:
> /sbin/start-stop-daemon --start --quiet -b -m -p
> /opt/squeezelite/log/squeezelite.pid --chuid $USER --exec
> /opt/squeezelite/squeezelite -- -n $NAME $LMS $SQUEEZELITE_PARAMETER
> #to something like this:
> /sbin/start-stop-daemon --start --quiet -b -m -p
> /opt/squeezelite/log/squeezelite2.pid --chuid $USER --exec
> /opt/squeezelite/squeezelite -- -n squeezelite2 -o plug:dmixer
>
You can play around with the '-o' argument to set it to play audio
through your usb-soundcard. Just test the right output by using the
webinterface and then take the option from the "Debug"-Field on the
audioplayer-tab on the webinterface.
2 x Max2Play on ODROID U2/U3 with LMS, Squeezelite, Shairport, XBMC
1 x Squeezebox Receiver
1 x Denon 1713 AVR + Nubert 5.1 System
iPeng
Max2Play-Image for ODROID: http://shop.max2play.com/de/image-max2play
------------------------------------------------------------------------
flysurfer's Profile: http://forums.slimdevices.com/member.php?userid=61064
View this thread: http://forums.slimdevices.com/showthread.php?t=101856
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins