Playing community audio to Sonos?

Playing community audio to Sonos?

I’ve been digging round, and might’t appear to discover a definitive reply to this, however all I need to do is create an automation that makes use of an intent and wildcard slots to play an album by artist. Pretty easy proper?

So I’ve a NAS with DLNA operating, and I additionally mounted a music folder from the NAS to my Hassio by way of SMB. If I am going to the media participant and choose a file from that mount, it performs on the Sonos with out a problem.

What I WANT to have occur is have a voice automation take easy enter like “Play Abbey Road by The Beatles”, and it goes to the /media mount, finds the artist listing, then the album title listing, and it simply performs on the Sonos. Still with me?

The precise automation portion is a breeze, however the targets are problematic. I used the wildcards setup as defined right here (beforehand a Rhasspy consumer, so slots and intents and never overseas to me). The sentence setup works simply high-quality, however how am I purported to then get the Sonos to only play each file within the listing as pathed like: media-source://MusicMount/Beatles/Abbey Road/*.mp3. Do I want playlists for each album, or is there some extra intelligent option to make this occur?

This doesn’t appear to be potential with Sonos, however looks like HA is able to not less than pushing the targets and probably audio stream to the media participant and making this occur.

Any ideas?

1 put up – 1 participant

Read full matter

HI-FI News

by way of Home Assistant Community – Latest subjects https://ift.tt/8Cf3LRY

March 7, 2024 at 07:27AM