I think you have two issues that may be intertwined.
Just dealing with having a Squeezelite installed as a service (using
Ubuntu standard squeezelite 1.8 package )
You need to change the /etc/default/squeezelite file - retain
permissions & owners/group settings.
Changes are in red.
Code:
--------------------
# ALSA output device:
SL_SOUNDCARD="plughw:CARD=PCH,DEV=0"
# Squeezebox server (Logitech Media Server):
# Uncomment the next line if you want to point squeezelite at the IP address
of
# your squeezebox server. This is usually unnecessary as the server is
# automatically discovered.
#SB_SERVER_IP="192.168.x.y"
# Additional options to pass to squeezelite:
# Please do not include -z to make squeezelite daemonise itself.
SB_EXTRA_ARGS="-C 5"
--------------------
1. The SOUNDCARD needs to be a specific ALSA device not the default or
pulse as they are user specific and cannot be shared with services.
2. The defautl need to use the -C option which means squeezelite will
not open device untl it needs to use it and will close it when
finished.
This will mean service squeezelite will only try to open the playback
device
No audio mixing can happen without a lot more work. If squeezelite
running and you wan to play kodi - stop squeezelite or kodi will report
error "device nto availabel" or similar. If kodi is playing and
suqeezelite is started - sqqueezelite will "play" but nothing will be
heard until kodi is stopped
Autoplay etc. is a separate issues but may be complicting things if you
are sharing the audio device.
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112050
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix