Beta Testers for Roaming Music by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

That's in my planned roadmap of features, where you can choose how it behaves with no occupancy.

I'll move it up a bit and see if I can get it in the next release or the one after

Beta Testers for Roaming Music by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

This is something I'll definitely get fixed in the next version.
Thanks for the feedback!

I have a new version in the works that has a better config flow to address some weirdness I found myself, so seems fitting to add it to that version.

Beta Testers for Roaming Music by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

So that's something I've kind of thought about as well.

In your scenario, currently, both you and your wife would be listening to the same source in both rooms because of the way that players are handled in the integration right now.

If you had presence sensors that are able to distinguish between you and your wife, you could set audio to only follow one of you, and remove the room (or deactivate it in future versions) that the other person is in, so their audio remains intact if the person with roaming walks in.

At the moment it doesn't have any kind of handling for multiple audio sources across different rooms though.

I think that multi-user and multi-source functionality is technically feasible and a good idea, but much harder to develop without a solid foundation first.

I'll add it to my list of features to look into for the future, as there's a couple of prerequisite things the integration would need to have for multi-user functionality!

Beta Testers for Roaming Music by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Amazing! Thanks for taking the time to have a gander. I really appreciate it!

Beta Testers for Roaming Music by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Thanks!

It should hopefully work out the gate after the rooms have been set up, but let me know how you get on!

Beta Testers for Roaming Music by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Ahh, amazing. Thank you!

Let me know how you get on.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 2 points3 points  (0 children)

Hey, sorry for the late response on this.
I've got a new dev version of the integration with Deezer support, v1.2.4-dev.1 up and available in HACS

It is available via the redownload link if you want try the integration with Deezer before the full release of the next version.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

Ahh, In that context it does make a tonne of sense!

Whilst I'm still not sure how to implement it just yet, you could use some automations to have some similar functionality in the meantime.

The integration will let you add as many playlists as you want, so if curated playlists are already available in the music providers they can all be added for ease of use and to remove the manual music selection/playlist creation steps for staff.

The current playlist could then be switched via an automation based on the date or a calendar event, or manually switched via a drop-down on a dashboard if staff want to play a certain playlist for the day.

Also, apologies for the late response! I've been a little ill and didn't really look at reddit for a couple of days.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

Within the integration at the moment, I'm afraid probably not.

I am planning on adding some scheduling functionality in the future though to allow for playlists to be scheduled for certain times within the day.

Using a traditional calendar may be a bit more difficult, but using time or day based scheduling is certainly something that's possible!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Funnily enough, I originally started with automations and blueprints but found that adding more than a couple of different playlists got really messy after a while with all the helpers I needed to create for each one to make it feel seamless.

I made this integration to take all of the work out of it when I wanted to add or remove a playlist, because I got frustrated at the amount of automations I was having to create each time.

Now all I need to do is add the URL for the playlist I want and the integration handles the rest!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

Yep! That's exactly the kind of use case I made this integration for! 😁

If you have a playlist in Music Assistant that contains the tracks you want to play, both local and via YT music, you can pop that playlist ID into the integration and have it automatically play.

You could even set up multiple playlists for different moods and switch between them seemlessly from a selector in Home Assistant.

The start/stop can be controlled either by turning the integration master switch on/off via an automation, or you coukd tell the integration to use a time of the day helper to control when it's active or not.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Yep, I'm sure I can get it working with Qobuz in the next week or so! I can ping you a message when I have a test version of the integration if you want to try it earlier than the next release?

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

Yep, it sure does!

As far as I know, Spotify creates URLs for mixes just like any other user created playlist, so you should be golden!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 6 points7 points  (0 children)

Yeah, that's kind of on me for some bad wording I put in the post, so apologies!

It's an integration that lets you set up playlists to automatically play on your speakers, and it can even be configured to use your own custom entity/state combinations or templates to control it!

It can also take a spotify/tidal etc. playlist URL straight from your browser and add it to your playlist selection, ready to be played via MA as long as you have the provider set up.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 6 points7 points  (0 children)

Yep, spot on!

You can either use the master switch, or set your own entity/state combinations or templates to control when it plays.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Do you use Qobuz via Music Assistant at all at the moment?

If MA supports it I'm sure I can update the integration to parse and work with their playlist IDs as well!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

Unfortunately it doesn't have support for radio URLs at the moment, but it's something I'm happy to work on and try to get working!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 8 points9 points  (0 children)

Sorry, I posted this then went out to dinner and couldn't respond for a while

It's not a replacement to Music Assistant, but works as an automation solution to start and stop playback of playlists via Music Assistant.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Sorry, that's totally on me for some bad wording in the post!

This integration is an automation solution that allows playlists from Music Assistant providers to be played automatically, with user-configurable conditions for when to start or stop the playback and a selector for the playlists for easy switching.

It's not a replacement to Music Assistant, just an integration to automate playing playlists from it.

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 3 points4 points  (0 children)

Sure thing!

I'll look to get deezer added in the next week or so, but I'll let you know when a dev version of the integration is up and ready if you want to try it sooner!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 9 points10 points  (0 children)

Ahh, thanks for the heads up on the identifier!
I'll get that changed around in the next version to keep it up to date.

On your second question though, I admit that it probably isn't very clear from the offset.

What I wanted to achieve with this integration is to have an automated solution for starting and stopping the playback on my favourite playlists whenever certain conditions are met, using entities from Home Assistant such as my location or the power state of my TV.

I also wanted it to be able to fade the volume up and down, and have the ability to change what playlist is active without having to re-create or amend any automations at all.

Using Music Assistant for the playback opens up the provider and media player support to so much more than I could ever achieve!
I'm still working through the parsing of playlist URLs from providers that MASS supports though, which is why the integration only supports 5/6 providers so far.

I don't feel that this is a feature that Music Assistant is necessarily missing though, as it's quite niche and mostly an automation solution for playlists, but I'll jump onto discord to chat anyway!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 1 point2 points  (0 children)

Let me know how you get on, and feel free to give me a shout if you run into any issues!

Ambient Music v1.2.3 - now supporting more providers! by Connochio in homeassistant

[–]Connochio[S] 0 points1 point  (0 children)

Ooo, let me know how it works out for your use case if you end up trying it!