core icon indicating copy to clipboard operation
core copied to clipboard

Testing v4.x

Open mr-manuel opened this issue 11 months ago • 37 comments

I just installed the latest testing branch and there were a lot of changes. Some are very nice, some breaks my setup completely.

I have Squeezelite players in Music Assistant and cannot use them anymore with v4 of Lox Audio Server.

  1. Isn't it possible anymore to link a MA player to a Zone? I can immagine because of the AirPlay support...
  2. Would it be possible to add Squeezelite as players?

Is there a reason qhy squeezelite players are not supported anymore? I always thought that was the best option to have music in sync. How would you recommend a setup to have the best synced audio?

mr-manuel avatar Dec 31 '25 11:12 mr-manuel

The new 4.x branch takes control over the audio stream. Previously playback relied entirely on the MA player. We now register our zones as players in MA, retrieve the stream, and play it ourselves. This gives lox-audioserver control over clock drift and allows proper internal grouping and sync.

If you prefer to use existing MA players, this is still possible. Each zone has an MA input. By default it registers the zone in MA, but you can enable offload to select an existing MA player. In offload mode, audio does not pass through lox-audioserver.

I will add squeezelite players as an output source.

For best sync, Snapcast / Sendspin outputs are preferred. You can also use Chromecast devices as Snapcast/Sendspin clients or the built-in web player.

rudyberends avatar Dec 31 '25 11:12 rudyberends

but you can enable offload to select an existing MA player

Should I see then Music Assistent in the Output routing? The bridge is setup successfully.

Image

I will add squeezelite players as an output source.

Thanks!

For best sync, Snapcast / Sendspin outputs are preferred

I'm using Raspberry Pi 3B with HiFiBerry HAT, so i'm pretty flexible. I will try that out once 4.x is stable.

mr-manuel avatar Dec 31 '25 12:12 mr-manuel

no, output is what you select there. You can use offload with, or without an output. If you have an output, and you use offload, it will still honor offload.

rudyberends avatar Dec 31 '25 12:12 rudyberends

Now I saw the button under Zones -> Zone - Music Assistant - Configure -> Use offload. Missed that before. 😄

mr-manuel avatar Dec 31 '25 12:12 mr-manuel

I testing the new brand! My Bridge to Music Assistant works fine and I had Spotify Connect, that's cool!

But how can I get back my TuneIn Radio Stations from Music Assistant ? Thank you

DiskoDisko404 avatar Dec 31 '25 12:12 DiskoDisko404

I had added a Tunin account it works but on each radio station I have a error call: Playback Error and the Stream doesn't start!

DiskoDisko404 avatar Dec 31 '25 12:12 DiskoDisko404

And I hear nothing on my Sonos

Image

Music Assistant Bridge is online and I can Stream from the MA to the Sonos???

DiskoDisko404 avatar Dec 31 '25 13:12 DiskoDisko404

Right now, you have music assistant on "internal player", but you do not have an output configured. So the audio has no route. Either select an output (airplay or chrome cast on a Sonos?) or use the offload feature on the musicassistant input and select your Sonos players there.

The tunein issue, seems to be related to the static ffmpeg build. I will fix this right away

rudyberends avatar Dec 31 '25 13:12 rudyberends

Okey and when I route it to Airplay I don't need the Music Assistant Bridge and I connect a Spotify Account directly on the Audioserver?

The second is when I use Offplay so I can selected the Player in MA ?

DiskoDisko404 avatar Dec 31 '25 14:12 DiskoDisko404

tunein fix: e86c102

rudyberends avatar Dec 31 '25 14:12 rudyberends

Okey and when I route it to Airplay I don't need the Music Assistant Bridge and I connect a Spotify Account directly on the Audioserver?

The second is when I use Offplay so I can selected the Player in MA ?

In theory, yes. However at the moment Spotify does not let you create a new app and you need that to setup the account;

Image

rudyberends avatar Dec 31 '25 14:12 rudyberends

Right now, you have music assistant on "internal player", but you do not have an output configured. So the audio has no route. Either select an output (airplay or chrome cast on a Sonos?) or use the offload feature on the musicassistant input and select your Sonos players there.

The tunein issue, seems to be related to the static ffmpeg build. I will fix this right away

Okey i understand but where can I select the player in MA?

DiskoDisko404 avatar Dec 31 '25 14:12 DiskoDisko404

tunein fix: e86c102

The Container will be update automatically ?

DiskoDisko404 avatar Dec 31 '25 14:12 DiskoDisko404

Right now, you have music assistant on "internal player", but you do not have an output configured. So the audio has no route. Either select an output (airplay or chrome cast on a Sonos?) or use the offload feature on the musicassistant input and select your Sonos players there. The tunein issue, seems to be related to the static ffmpeg build. I will fix this right away

Okey i understand but where can I select the player in MA?

Either configure an output, or use an offloaded player. I would suggest you use an output.

rudyberends avatar Dec 31 '25 14:12 rudyberends

tunein fix: e86c102

The Container will be update automatically ?

Container is updated on every commit to the testing branch. You do have to pull it locally.

rudyberends avatar Dec 31 '25 14:12 rudyberends

Hi Lox-audioserver -> Bridge MA -> Offload output Sonos Speaker from MA should work right?

Image

I can't get it to work (no Audio to hear on sonos speaker)

Image

christophpichlmaier avatar Jan 01 '26 12:01 christophpichlmaier

MA offload acts only on the MA input and therefore only offloads MA library content. Radio is not part of the MA library and is routed directly to an output, which you currently do not have configured.

We could technically route every source through the offloaded MA instance, but that would add significant complexity. I may remove the offload option altogether to avoid confusion.

The main goal of the new release is to make lox-audioserver less dependent on MA and to treat MA as just another content source, rather than the solution driving all audio.

rudyberends avatar Jan 01 '26 12:01 rudyberends

Is it possible to choose SONOS as an direct Output? The old Play1 have No AirPlay functionality.

christophpichlmaier avatar Jan 01 '26 12:01 christophpichlmaier

The main goal of the new release is to make lox-audioserver less dependent on MA and to treat MA as just another content source, rather than the solution driving all audio.

This is indeed a good thought. Is Spotify Connect maybe also on the roadmap? Seems to be quite buggy in other applications and not that easy.

mr-manuel avatar Jan 01 '26 13:01 mr-manuel

Is it possible to choose SONOS as an direct Output? The old Play1 have No AirPlay functionality.

I did create a Sonos output based on the MA implementation, but I don’t own any Sonos speakers myself, so it’s completely untested. Because of that, I left it out of the current release.

If you’re willing to test it, I can release a build tomorrow that includes it. We’ll likely need to iterate on the code to get it fully functional, so let me know if you’re interested.

rudyberends avatar Jan 01 '26 13:01 rudyberends