Selfhosted chromecast audio (multiroom)?
from flork@lemy.lol to selfhosted@lemmy.world on 13 Mar 14:01
https://lemy.lol/post/40596087

With the outages this week I have decided to revisit synchronized multiroom audio. The important feature for me is that it needs to utilize the “cast” button within the Spotify/Tidal/etc apps because that’s what my family uses.

Does anything exist other than the chromecast audio pucks?

#selfhosted

threaded - newest

talentedkiwi@sh.itjust.works on 13 Mar 14:31 next collapse

I’m not sure about self hosted specific. There is a device called WiiM. Works with most of the major streaming services. I believe they’re also working on plexamp integration too.

flork@lemy.lol on 13 Mar 17:10 collapse

I actually looked into Wiim and it’s really great, but you need to open the music in their app in order to do mutiroom. You can’t just “cast” from Spotify or whatever.

EDIT: Some Wiim devices have chromecast built in

talentedkiwi@sh.itjust.works on 13 Mar 21:54 collapse

Good to know, thanks!

paperd@lemmy.zip on 13 Mar 15:39 next collapse

You can get standalone Bluetooth devices that just output audio.

flork@lemy.lol on 13 Mar 17:11 next collapse

Won’t work with multiroom unfortunately.

paperd@lemmy.zip on 13 Mar 17:27 collapse

You use it as an input for something like snapcast.

flork@lemy.lol on 13 Mar 18:38 collapse

Snapcast allows me to use the “chromecast” button inside the spotify app?

paperd@lemmy.zip on 13 Mar 19:25 collapse

no, but then you want something like this github.com/rgerganov/shanocast

flork@lemy.lol on 14 Mar 15:08 collapse

Now that’s interesting! Thanks

9488fcea02a9@sh.itjust.works on 13 Mar 23:17 collapse

But my chromecast transports digital signal to my DAC. Probably better quality than the DAC in the bluetooth speaker

paperd@lemmy.zip on 14 Mar 00:20 collapse

ok, then keep using your chromecast.

Voroxpete@sh.itjust.works on 13 Mar 17:03 next collapse

I’ve never had any luck finding anything open source / self hosted that actually works reliably. The best I came up with was an Nvidia Shield, which at least allows to you to run stuff like Kodi, Jellyfin, and Smart Tube Next (ad blocking YouTube client).

flork@lemy.lol on 13 Mar 17:10 collapse

I have a home server, I just need the little parts that plug into the speaker.

agile_squirrel@lemmy.ml on 13 Mar 18:22 next collapse

I’ve seen some interesting development with Music Assistant but I haven’t personally used it. It’s not sure if it can be commanded using the cast button.

flork@lemy.lol on 13 Mar 18:39 collapse

Music assistant is indeed cool and can do multi-room, but you have to go to it specifically first.

JustEnoughDucks@feddit.nl on 14 Mar 07:02 collapse

Yeah, they have a spotify connect plugin that works, but chromecast probably will not be supporter because google holds all of the cast keys and esphome/music assistant/ home assistant would have to register with them (and probably play the fees) i think

flork@lemy.lol on 14 Mar 15:06 collapse

Dang OK thanks yeah we need all apps (Tidal, BandCamp, Pocketcasts etc) not just Spotify.

sem@lemmy.blahaj.zone on 13 Mar 18:48 next collapse

I always thought since the cast button on Spotify/tidal/etc. is a Google thing it would only ever work with the Chromecast protocol.

flork@lemy.lol on 14 Mar 15:10 collapse

That makes sense but I just wanted to check. Someone else linked this to me but it appears at least one other open source project works with it github.com/rgerganov/shanocast

sem@lemmy.blahaj.zone on 15 Mar 02:51 collapse

Great find! I hope it works! Maybe things like this will get more use now that Chromecast Audio is getting deprecated

LiveLM@lemmy.zip on 14 Mar 01:51 next collapse

The Google Casting protocol is proprietary (and indeed the outage was caused because the system that verifies a receiver’s “legitimacy” broke down lol) so AFAIK there is no Open Source solution that can replicate the functionality. At least so far.

flork@lemy.lol on 14 Mar 15:07 collapse

The cast button works with Apple Airplay and Sonos devices yeah? I also believe it works with (some) Wiim devices.

variouslegumes@reddthat.com on 14 Mar 05:06 next collapse

This is the closest thing I’ve heard of that does some sort of casting. AFAIK it doesn’t replace chromecast. I’ve never actually used it.

My solution to this since my house is small is to use an amp that supports multiple speakers that all the devices connect to and then wire speakers through the house. I’ve thought about connecting the amp to a small computer and streaming the audio to my sheds using ROC. The neat thing about this solution is I can play my records and tapes too and listen to them seamlessly between rooms.

flork@lemy.lol on 14 Mar 15:12 collapse

Thanks, someone else linked this too: github.com/rgerganov/shanocast

I’ve thought about running wires too but I don’t always want it playing in every room, and the convenience of "cast to [group A] [group B] etc is too convenient for my family to give up.

glizzyguzzler@sh.itjust.works on 15 Mar 07:13 next collapse

It’s iOS-specific, but if your family happen to have iOS devices github.com/mikebrady/shairport-sync works amazingly with Rpi ZeroWs. But I’d spring for the 2W version for some breathing room, if you could. All the iOS apps I’ve used are able to play to an airplay2 group in sync, but I don’t have either of the apps you called out specifically.

dmtalon@infosec.pub on 17 Mar 16:46 collapse

I’m in the same boat. I’d say that my current setup is still not back to ‘normal’ since the issue with the certificates on the second gen devices.

I was able to cast to a CCA yesterday for a few hours after rebooting it again.

I have, over the years gone all in with the CCAs which is great when it works but sucks being tied to google. I have 11 active running CCAs connected to two separate 12 channel amps that have wired speakers throughout my house.

I use Google Mini’s in those locations with their default speaker set to the CCA feeding that room’s speakers. I also have groups “Basement” “Upstairs” “outside” etc that allow me to group them into larger zones. This is all very awesome when it works, but like we found out last week falls apart when there’s a problem on that house of cards.

We can via apps directly manually ‘cast’ from YTM or Spotify or whatever (podcast app) or just ask the mini in the room to play music or play music on ‘group speaker name’.

I got here from ‘Casatunes’ which when I was using it, was a PCIE card you installed in a windows machine and then installed their software (that ran on IIS) and it created a web service where the PCIE card (a soundblaster) had 6 3.5mm jacks (6 zones) as output, and then the software allowed you to assign 4 different inputs. Biggest issue I had with it, is as I moved from Sirius XM to streaming the service I opted to go with wasn’t supported. Eventually I migrated to the CCA approach.

I’d love a way to setup 11 Pi’s (although not at today’s prices) with some open source protocol that replaced googles casting. The problem then would be getting some local speaker (google mini) to interact with it, or even your phone (spotify/ytm to ‘cast’ to that open protocol). Whatever the long term solution it would need to be easy to use or nobody but me will use it.