I’ve installes squeezelite on my OSMC (newest Release).
I configured my USB sound card in squeezelite and it works like it should.
But now I can’t use the sound card in Kodi. It’s not shown in the preferences.
When I deactivate it in squeezelite I can use it in Kodi.
How can I use the same sound card in both?
Hey @r_knipp had olat of issues with this as well perhaps not a usb but you need to separate how squeezelite start and what it uses
Here is my working squeezelite systemd service file hope this helps it lets you play music on squeezelite when system is idle you can change it to type simple if its not working for you.
Also you might wanna change it audiocard by changing sysdefault:CARD=ALSA to desired audiocard by checking what interfaces are available with squeezelite -l
place this file at /etc/systemd/system/squeezelite.service and changesqueezeboxserver to ip or dns for your server and clientname to whatever you want your client to be named
Thanks for your reply.
I tried it with your suggested settings but it doesn’t work for me.
Now I can choose the sound card in Kodi but I have no sound in Kodi when squeezelite is running.
I have to stop the squeezelite service to have sound in Kodi.
Furthermore squeezelite is not starting at startup.
Maybe it’s possible to write a script that stops squeeze when Kodi starts playing and starts squeeze when Kodi stops playing? Or to use two sound cards?
suggest you read up a bit more i can use squeezelite and run kodi at the same time on the same soundcard mess around with settings find what works for u.