[GH-ISSUE #109] How to - Squeezlite Player - 4.x Testing Branch #55

Closed
opened 2026-02-27 19:28:09 +03:00 by kerem · 5 comments
Owner

Originally created by @simon2207 on GitHub (Jan 5, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/109

I could not find a way to connect my Squeezlite Clients to my Lox-Audioserver.

Those Players appear under Music Assistant and under previous Lox-Audioserver Versions ( 3.x and earlier ) I was able to connect them through MA - but within 4.x they are not discovered.

I think I read in one of your comments @rudyberends that Squeezlite is to old and will not be supported in future Lox-Audioserver Versions - I m fine if that's the way, but what Client Solution would you recommend for a small Client Solutions based on Raspberry Pi Zero 2 with HifiBerry Amp4 Head?

RuneAudio
Volumio

both seems to be to heavy for the small rasp...

and Snapcast as a server seems to be already built into Lox-Audioserver and I couldn´t find a quick and dirty client install solution as small as possible.

https://github.com/snapcast/snapcast?tab=readme-ov-file

maybe anyone else could recommend a small lightwight Linux package or all in one snapcast solution.

kind regards
Simon

Originally created by @simon2207 on GitHub (Jan 5, 2026). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/109 I could not find a way to connect my Squeezlite Clients to my Lox-Audioserver. Those Players appear under Music Assistant and under previous Lox-Audioserver Versions ( 3.x and earlier ) I was able to connect them through MA - but within 4.x they are not discovered. I think I read in one of your comments @rudyberends that Squeezlite is to old and will not be supported in future Lox-Audioserver Versions - I m fine if that's the way, but what Client Solution would you recommend for a small Client Solutions based on Raspberry Pi Zero 2 with HifiBerry Amp4 Head? RuneAudio Volumio both seems to be to heavy for the small rasp... and Snapcast as a server seems to be already built into Lox-Audioserver and I couldn´t find a quick and dirty client install solution as small as possible. https://github.com/snapcast/snapcast?tab=readme-ov-file maybe anyone else could recommend a small lightwight Linux package or all in one snapcast solution. kind regards Simon
kerem closed this issue 2026-02-27 19:28:09 +03:00
Author
Owner

@simon2207 commented on GitHub (Jan 5, 2026):

Installed Raspberry Pi OS Light 32-Bit on my Testing Device... Raspberry Pi Zero W with Hifiberry AMP2 Head:

In Total ... the Experience is frustrating...

Snapcast Client seems to be way to powerful for that device... (or needs to much resources):System is slow... complete difference to PiCorePlayer.

After many hours of back and fore I was able to start Playing Music - but not really able to control Play/Pause from the Loxone App. ( To slow ) Music stops playing music 10 seconds after the app control.

Volume doesn't work completely - and that was really a pain to get it done. During the first try the volume output was at max and it almost destroyed my speakers. I was able to get it down via alsamixer over ssh. bit its not working from the Loxone app. Even if I turn down the volume within Loxone to zero - the player keeps playing with the preset volume from alsamixer.

Some Logs during the last session. Play and Pause from within in the app.

[2026-01-05T21:09:06.574Z][INFO][Zones|Manager] [hasParentContext=false normalizedTarget=https://stream.rcs.revma.com/mallorcasunshineradioclassics resolvedTarget=https://stream.rcs.revma.com/mallorcasunshineradioclassics station="" type=favorite uri=tunein🚉b64_aHR0cHM6Ly9zdHJlYW0ucmNzLnJldm1hLmNvbS9tYWxsb3JjYXN1bnNoaW5lcmFkaW9jbGFzc2ljcw== zoneId=24] playContent
[2026-01-05T21:09:06.580Z][INFO][Audio|Manager] [hasStream=false label=tunein🚉b64_aHR0cHM6Ly9zdHJlYW0ucmNzLnJldm1hLmNvbS9tYWxsb3JjYXN1bnNoaW5lcmFkaW9jbGFzc2ljcw== sourceKind=url zoneId=24] startWithResolvedSource
[2026-01-05T21:09:06.580Z][INFO][Audio|Manager] [handoff=false kind=url profiles=["pcm"] zoneId=24] starting audio engine
[2026-01-05T21:09:06.581Z][INFO][Audio|Session] [maxBufferBytes=8192 outputBitDepth=16 outputChannels=2 outputSampleRate=48000 profile=pcm targetLeadMs=1000 zoneId=24] audio session buffer config
[2026-01-05T21:09:06.586Z][INFO][Audio|Engine] [profile=pcm source=url zoneId=24] audio session started
[2026-01-05T21:09:06.587Z][INFO][Audio|Manager] [source=tunein🚉b64_aHR0cHM6Ly9zdHJlYW0ucmNzLnJldm1hLmNvbS9tYWxsb3JjYXN1bnNoaW5lcmFkaW9jbGFzc2ljcw== stream=24-ad9cfe88-77c4-419d-864d-dc312a579bb0 title="Mallorca Sunshine Radio - Classics (Funk)" zoneId=24] playback started
[2026-01-05T21:09:06.589Z][INFO][Http|Snapcast] [clientId=b8:27:eb:40:6a:f5 streamId=24] snapcast client reassigned to stream
[2026-01-05T21:09:06.590Z][INFO][Http|Snapcast] [bitDepth=16 channels=2 clientIds=["b8:27:eb:40:6a:f5"] sampleRate=48000 streamId=24 zoneId=24] snapcast stream registered
[2026-01-05T21:09:06.782Z][INFO][Audio|Session] [bytes=4608 profile=pcm zoneId=24] ffmpeg first chunk
[2026-01-05T21:10:10.240Z][INFO][Loxone|UDPDiscovery] [from=192.168.1.42:7070 length=6 payload=504f94d03006] udp discovery probe received
[2026-01-05T21:10:10.241Z][INFO][Loxone|UDPDiscovery] [di=1 length=130 to=192.168.1.42:7070 tv=3] udp discovery response sent
[2026-01-05T21:10:10.248Z][INFO][Audio|Engine] [zoneId=24] audio session stopped
[2026-01-05T21:10:10.329Z][INFO][Audio|Session] [bufferedBytes=4608 code=255 earlyExit=false runMs=63747 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=15800832 zoneId=24] ffmpeg exited

<!-- gh-comment-id:3712128771 --> @simon2207 commented on GitHub (Jan 5, 2026): Installed Raspberry Pi OS Light 32-Bit on my Testing Device... Raspberry Pi Zero W with Hifiberry AMP2 Head: In Total ... the Experience is frustrating... Snapcast Client seems to be way to powerful for that device... (or needs to much resources):System is slow... complete difference to PiCorePlayer. After many hours of back and fore I was able to start Playing Music - but not really able to control Play/Pause from the Loxone App. ( To slow ) Music stops playing music 10 seconds after the app control. Volume doesn't work completely - and that was really a pain to get it done. During the first try the volume output was at max and it almost destroyed my speakers. I was able to get it down via alsamixer over ssh. bit its not working from the Loxone app. Even if I turn down the volume within Loxone to zero - the player keeps playing with the preset volume from alsamixer. Some Logs during the last session. Play and Pause from within in the app. [2026-01-05T21:09:06.574Z][INFO][Zones|Manager] [hasParentContext=false normalizedTarget=https://stream.rcs.revma.com/mallorcasunshineradioclassics resolvedTarget=https://stream.rcs.revma.com/mallorcasunshineradioclassics station="" type=favorite uri=tunein:station:b64_aHR0cHM6Ly9zdHJlYW0ucmNzLnJldm1hLmNvbS9tYWxsb3JjYXN1bnNoaW5lcmFkaW9jbGFzc2ljcw== zoneId=24] playContent [2026-01-05T21:09:06.580Z][INFO][Audio|Manager] [hasStream=false label=tunein:station:b64_aHR0cHM6Ly9zdHJlYW0ucmNzLnJldm1hLmNvbS9tYWxsb3JjYXN1bnNoaW5lcmFkaW9jbGFzc2ljcw== sourceKind=url zoneId=24] startWithResolvedSource [2026-01-05T21:09:06.580Z][INFO][Audio|Manager] [handoff=false kind=url profiles=["pcm"] zoneId=24] starting audio engine [2026-01-05T21:09:06.581Z][INFO][Audio|Session] [maxBufferBytes=8192 outputBitDepth=16 outputChannels=2 outputSampleRate=48000 profile=pcm targetLeadMs=1000 zoneId=24] audio session buffer config [2026-01-05T21:09:06.586Z][INFO][Audio|Engine] [profile=pcm source=url zoneId=24] audio session started [2026-01-05T21:09:06.587Z][INFO][Audio|Manager] [source=tunein:station:b64_aHR0cHM6Ly9zdHJlYW0ucmNzLnJldm1hLmNvbS9tYWxsb3JjYXN1bnNoaW5lcmFkaW9jbGFzc2ljcw== stream=24-ad9cfe88-77c4-419d-864d-dc312a579bb0 title="Mallorca Sunshine Radio - Classics (Funk)" zoneId=24] playback started [2026-01-05T21:09:06.589Z][INFO][Http|Snapcast] [clientId=b8:27:eb:40:6a:f5 streamId=24] snapcast client reassigned to stream [2026-01-05T21:09:06.590Z][INFO][Http|Snapcast] [bitDepth=16 channels=2 clientIds=["b8:27:eb:40:6a:f5"] sampleRate=48000 streamId=24 zoneId=24] snapcast stream registered [2026-01-05T21:09:06.782Z][INFO][Audio|Session] [bytes=4608 profile=pcm zoneId=24] ffmpeg first chunk [2026-01-05T21:10:10.240Z][INFO][Loxone|UDPDiscovery] [from=192.168.1.42:7070 length=6 payload=504f94d03006] udp discovery probe received [2026-01-05T21:10:10.241Z][INFO][Loxone|UDPDiscovery] [di=1 length=130 to=192.168.1.42:7070 tv=3] udp discovery response sent [2026-01-05T21:10:10.248Z][INFO][Audio|Engine] [zoneId=24] audio session stopped [2026-01-05T21:10:10.329Z][INFO][Audio|Session] [bufferedBytes=4608 code=255 earlyExit=false runMs=63747 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=15800832 zoneId=24] ffmpeg exited
Author
Owner

@rudyberends commented on GitHub (Jan 5, 2026):

Snapcast volume control: you’re right. Snapcast exposes client volume (and other controls) via its JSON-RPC interface. This was working fine, but parts of that integration appear to have been overwritten in a recent update. I re-added it, so volume control should now be functional again.

On performance and reliability: in my experience Snapcast is currently, by far, the best-performing output option for lox-audioserver. Reaction time and load times are noticeably better than the other protocols. We’ll get the others to the same level, but right now nothing comes close. Group playback also performs extremely well: I can sync the maximum number of players in perfect sync without issues.

Setup should be straightforward: you simply point your Snapcast client to the server URL.

That said, I am running the clients on powerful hardware and your point about client load may be valid—especially on lower-powered hardware. Are you able to check CPU/RAM usage while playing (for example with top) and see if the client is hitting limits?

For comparison/testing: you can use the built-in web player. When you’re using a Snapcast (or SendSpin) output, the output shows an “Open webplayer” option that lets you tap into the live stream of a zone. This is useful to verify whether issues are stream-side or client-side.

Let me know what you find (client load + whether the web player behaves differently).

<!-- gh-comment-id:3712352855 --> @rudyberends commented on GitHub (Jan 5, 2026): Snapcast volume control: you’re right. Snapcast exposes client volume (and other controls) via its JSON-RPC interface. This was working fine, but parts of that integration appear to have been overwritten in a recent update. I re-added it, so volume control should now be functional again. On performance and reliability: in my experience Snapcast is currently, by far, the best-performing output option for lox-audioserver. Reaction time and load times are noticeably better than the other protocols. We’ll get the others to the same level, but right now nothing comes close. Group playback also performs extremely well: I can sync the maximum number of players in perfect sync without issues. Setup should be straightforward: you simply point your Snapcast client to the server URL. That said, I am running the clients on powerful hardware and your point about client load may be valid—especially on lower-powered hardware. Are you able to check CPU/RAM usage while playing (for example with top) and see if the client is hitting limits? For comparison/testing: you can use the built-in web player. When you’re using a Snapcast (or SendSpin) output, the output shows an “Open webplayer” option that lets you tap into the live stream of a zone. This is useful to verify whether issues are stream-side or client-side. Let me know what you find (client load + whether the web player behaves differently).
Author
Owner

@simon2207 commented on GitHub (Jan 6, 2026):

Hi @rudyberends thanks for that explanation.

Volume is now fixed. Response is quick and feels absolutely fine.

WebPlayer: unable to control anything except volume. After opening the web player the music ist playing through my MacBook speakers and the zone but not in sync. Play / Pause is not working, only a disconnect from the player stops the music on my MacBook.

TOP Screenshot attached. Nothing special to see... Raspberry should be able to handle everything.

Just to let you know:

Stoping Radio Stations from the Loxone App takes up to 10 seconds until it really stops playing.
Stoping Music Tracks from Spotify or Apple Music ( Integrated, not MA ) with the Loxone App takes up to 3 seconds.

Start playing Radiostations and or Music Tracks is instant.

Image Image
<!-- gh-comment-id:3713527947 --> @simon2207 commented on GitHub (Jan 6, 2026): Hi @rudyberends thanks for that explanation. Volume is now fixed. Response is quick and feels absolutely fine. WebPlayer: unable to control anything except volume. After opening the web player the music ist playing through my MacBook speakers and the zone but not in sync. Play / Pause is not working, only a disconnect from the player stops the music on my MacBook. TOP Screenshot attached. Nothing special to see... Raspberry should be able to handle everything. Just to let you know: Stoping Radio Stations from the Loxone App takes up to 10 seconds until it really stops playing. Stoping Music Tracks from Spotify or Apple Music ( Integrated, not MA ) with the Loxone App takes up to 3 seconds. Start playing Radiostations and or Music Tracks is instant. <img width="1104" height="778" alt="Image" src="https://github.com/user-attachments/assets/965b10a6-deca-4624-a9d9-f682486e1522" /> <img width="1373" height="743" alt="Image" src="https://github.com/user-attachments/assets/3d46f7a2-1458-4d87-97fd-048576189b5b" />
Author
Owner

@mr-manuel commented on GitHub (Jan 18, 2026):

Should I create a new issue for Squeezelite integration or should we use this issue for that purpose?

<!-- gh-comment-id:3765717956 --> @mr-manuel commented on GitHub (Jan 18, 2026): Should I create a new issue for Squeezelite integration or should we use this issue for that purpose?
Author
Owner

@rudyberends commented on GitHub (Jan 18, 2026):

lets use a new one

<!-- gh-comment-id:3765722553 --> @rudyberends commented on GitHub (Jan 18, 2026): lets use a new one
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#55
No description provided.