Multiroom audio via snapcast

Hey would it not be nice if you could have multiroom audio in osmc
There is a little project which does try to solve this it’s called snapcast Could it be possible to try to integrate this to osmc


How would you expect it to function? Within Kodi or via CLI?

It could be packaged as an App if there’s demand for it


Well i would expect first as a CLI until the demand is increase and someone makes an addon to control the different stream. I would be happy controlling the different streams with the android app.

I would love to see this on OSMC aswell

Snapcast looks like an awesome project for that feature.
Tomorrow I will try it out to install an snapcast server on my raspberry and pipe the sound via PulseAudio to it.

If it works fine, I only need to create an small GUI for OSMC.

Do anyone already try it?

Has anybody given more thought on how to use this in Kodi / OSMC?

Technically, snapcast works great. A server sends sound to the network, the clients pick up the stream and play it in sync.

More specificaly, snapserver uses a named pipe, /tmp/snapfifo (by default), to which the Players must write their sound output.
Snapclient just finds the server (using avahi I believe), connects and grabs the stream and then sends sound to the default ALSA device (by default).

That being said, what would hope to achieve?

  • Have Kodi/OSMC be the master and send output to dumb players in other zones?
    ** (playing back locally is pretty easy, you can just send sound output to snapserver and run the client locally at the same time.)
  • Have Kodi/OSMC be the client and receive sound from another player?
  • Have Kodi/OSMC control its local snapclient as well as other snapclients on the network, similar to what the Android app does?

Also, the stream is just a FLAC stream (again, by default) and contains no information about what’s being played, so that can be an issue if we want nice integration in Kodi.

Anyway, things don’t look much more advanced on this issue on the Kodi forum

It has been a long time since this thread was started.

This is still a great idea, has anything like this been implemented in the meanwhile?

(With the Ikea / Sonos Symphonisk we could get a really inexpensive but high quality multiroom setup for Kodi /OSMC)