this post was submitted on 14 Dec 2024
34 points (97.2% liked)

Selfhosted

61808 readers
338 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] BrownianMotion@lemmy.world 4 points 2 years ago* (last edited 2 years ago) (1 children)

I use LMS and it is fantastic. However not knowing your setup in detail, I cannot help you more.

  1. LMS can stream to multiple devices, separately. (Different music in different rooms/devices).
  2. LMS can stream simultaneously to multiple devices. (Same music across several devices).
  3. Yes, it can chromecast (chromecast bridge extension). There is also an Airbridge extension.
  4. Yes, there is a plugin to stream from YouTube (I don't use it, so I don't know if this includes or excludes YT music)

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.

[โ€“] sylverstream@lemmy.nz 1 points 2 years ago

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.