Self hosted multi room audio with yt music and ability to play from ytm app?
from sylverstream@lemmy.nz to selfhosted@lemmy.world on 14 Dec 23:56
https://lemmy.nz/post/17306069
from sylverstream@lemmy.nz to selfhosted@lemmy.world on 14 Dec 23:56
https://lemmy.nz/post/17306069
I’ve got active speakers that have optical in, and rpi zeros connected to them via hdmi via an audio extractor. Installed snapclient on the rpis connected to the speakers, and music assistant on my server.
I have yt music which is our only source of music.
It works well, but I can’t cast from the yt music app. Librespot is included in snapcast, but would mean switching to Spotify. I’ve read a topic on snapcast that they can’t support chromecast due to it being closed source / hard to develop against.
Would lms be an option? I’ve no experience with lms.
So, is there any solution with yt music that allows me to control music to my rpi clients via the ytm app?
#selfhosted
threaded - newest
You’re kind of boned with YT music because they use a Chromecast derivative that is closed source from what I understand. Check out Moode or Volumio and see about using direct inputs to stream to other devices though, which can all be done in software. Not sure about Volumio, but Moode has support for the RPi DAC, and makes easy work of just making any audio input streamable.
Thanks! Yeah think YT music is going to be hard or impossible. Other than this, I like it better than Spotify.
Will have a look at those two options.
Give Qobuz a try. I think they support a lot of the open source based streaming endpoints in the app as long as they properly advertise on your network. Also give Bubbleunpnp a look if you’re on Android. May even solve the YT music issue.
Yeah I don’t want to use another app. Therefore I’ve subbed to Spotify premium and that works perfectly with Snapcast. Can use the Spotify app to play to all snapclient speakers.
My YouTube music app is able to see my Roku. Might be able to work something out there with a Roku stick.
I use LMS and it is fantastic. However not knowing your setup in detail, I cannot help you more.
I looked through my extensions and I cannot see a ‘spotcast bridge’ option, but doesn’t mean it doesn’t exist. You’d have to look about, maybe github.
Finally, like you have ‘snapclient’ on the RPi’s you can/could change them to ‘chrome clients’ (different project but same deal as the snapclient).When checking, it seems the solutions that exist are pretty out of date, and there are comments that google has locked down on the ‘chromecast api’ that check the client is legit or not, through signed certificates. So everything is fine if you have legit chromecasts, but it might not be so successful with an emulated cc, such as VLC client or omxplayer.More finally though, Logitech Media Server, is designed to be that - the central server of your music. Ideally you would have all your music locally, rather than on other services. So it probably isn’t what you are looking for.
Thanks! Yeah, saw there was a yt plugin but not for ytm. The plugin for ma is also a bit flaky and auths via cookies, so not proper auth.
I’ve subbed to Spotify and it works like a charm. Can select Snapcast directly from any Spotify app and then it plays on all snapclient speakers in sync.
So, my current whole house audio is powered by Chromecast Audios. Unfortunately they no longer make them. But you can still get them new off eBay. I know because I just bought 5 more (unopened from Japan) as part of finishing our basement
Mine feed two 12 channel (six room) amplifiers. I’ve got a mini in each room whose default speaker is the associated CCA and it works great. I have speaker groups so I can ask “hey Google, play music in the basement” and all rooms play.
Previously I used casatunes. They don’t do this anymore, but I bought a PCI card from them (it was a sound blaster hardware) but it was a 6 channel sound card and associated software that ran on windows IIS. It allowed both hardware and software streaming. I liked it but it never supported Google music and eventually I switched to the CCAs
<img alt="" src="https://infosec.pub/pictrs/image/1d7933cc-ef29-4acd-9ddf-d9fa7839a951.png">