Is anyone using Music Assistant within Home Assistant? I just started to dive into it, but the Ampli doesn’t show up as a valid media player. The documentation notes that only players supporting play_media
will show up in the listing. When I look at the media_players
created by the Amplipi integration, I see this:
supported_features: 23997
I’m not sure how to interpret that, but I’m guessing it means it doesn’t support play_media
. Is there a reason this integration doesn’t support that? Seems like using Media Assistant would be a great way to manage the output for the Amplipi. Thanks!
Hi Crushing1523!
The HomeAssistant integration is in the process of being updated to support newer versions of AmpliPi. In particular, the way audio is played from HomeAssistant is being changed in 0.4.1, so it will no longer go over an announcement channel. We have been testing this newer version with Music Assisant, and when 0.4.1 comes out, the HomeAssistant integration will be updated.
That being said, the media player should support play_media
, and the problem may be with Music Assistant. I was having trouble with it earlier today and the problem was solved when I updated the Music Assistant integration and the HomeAssistant core.
Also, the newest version of the HomeAssistant integration can be found at GitHub - micro-nova/hacs_amplipi: Adds media player support for the AmpliPi MultiZone Audio Player .
1 Like
I was using a different HACS integration, so I just changed over to the micro-nova one. This made a difference and now I’m able to play media. However, I can’t stop it once it has started:
This is what I see when I look at the media_player.kitchen_speakers entity
:
Whenever I play something from Media Assistant, I’m “losing” my DLNA zone on the Amplipi interface and it’s being replaced by the Announcement one. Some strange behavior.
The issue with pausing Music Assistant happens when connecting it to any HA media player, even ones that aren’t AmpliPi related: Cannot pause a HA media player · Issue #2262 · music-assistant/hass-music-assistant · GitHub
It can still be paused on either the AmpliPi web interface, or via a non-Music Assistant HomeAssistant media player.
In AmpliPi version 0.4.1, HomeAssistant will allocate its own source for external media, rather than using the announcement feature, which it does currently.
Gotcha. This is my first bit of time messing around with MA. Thanks!
I’ve only spent a little time in Music Assistant, I’m liking it so far and it might replace Mopidy for me.
I wasn’t able to get the feature of having the media_player entities in HA to populate MA for whatever reason.
What did work was to go into the Amplipi and create a LMS output and in MA use the Slimproto integration to access it.