Music Assistant 2.0: Your Music, Your Players

I’ve found the issue with the indexing of my SMB share. It does not like underscore in the directory name. I do have directories that both begin and end with underscores.

Lastfm plugin in 2.50, I’ve been waiting for this! Thank you.

Is there a way to use the new builtin player without Home Assistant cloud?

Is it a bug or feature, that MA ignores directories with underscores?

@mcarty If you have access to your MA server in any way then the web player should work. Note you are responsible for security if you aren’t accessing it via HA ingress

@scw2wi It is expected that MA ignores directories that begin with an underscore

1 Like

I just noticed that. I have a lot of folders starting with _ and now all subfolders under them are not being detected. I am pretty sure that was working before.

Is there any link on the documentation regarding naming conventions? My folder albums doesnt start with _ , but some parent folders do.

is there a way to get music assistant to stop looping? This is driving me insane! I have spent hours trying different settings, but no matter what I do if I send a single track to my media player, it keeps repeating until I stop it manually. Repeat mode is off in music assistant, and its explicitly denied in vlc (over telnet) via command line flag. So far I have been extremely disappointed with my experience as I have never gotten music assistant to be useful for me, only a time sink

Try a different player type is the first step

That is not exactly possible. The only players I have on my HA are vlc/telnet. Most of the rest of the solutions are dependent on proprietary things, or adding complexity, like snapcast. VLC is the least complex FOSS player provider possible, and the one that should have the least issues to get working due to that

No but I will look to put something in

Well it relies on the HA integration and any other associated VLC settings. You can try the web player included in 2.5 or add the internal snapcast server

1 Like

ok web player it doesnt repeat on, only when sending to VLC. VLC doesnt repeat when sending media to it via the media component of HA

Any advice on what I could do to get this to work properly with VLC?

edit: nevermind. I ended up just installing snapclient, dbus, etc on all my systems. Thanks for the help!

I don’t know why they have VLC telnet as an option if it doesn’t work

Probably already commented on, but it is great to have podcasts via RSS Feed. However, it is a pity that they don’t automatically refresh - are there any plans to add this functionality? Without it the podcast facility is not much use.

Hello!
Help me figure it out. I have a chromocast speaker and I installed a music assistant. The speaker was added via Google Cast integration. I can stream music to the speaker from my Android smartphone and it also works great if I go to the media folder on the home assistant and turn on the radio browser to any station.

But here’s the problem, chromocast works everywhere, but not in the music assistant! It is selected but there is no sound. It does not respond to pressing play.

The logs are full of warnings.
WARNING (MainThread) [music_assistant.players] Error while requesting latest state from player SM-M215F: 'queue_item_id

When rebooting the add-on, another warning appears in the logs. All devices are in the same peer-to-peer network. And I repeat, the sound is broadcast from another smartphone. And from the home assistant too, but only in the radio browser, in the media folder.

2025-04-04 23:40:41.770 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-29) [pychromecast.dial] Failed to determine cast type for host <unknown> (<urlopen error [Errno 111] Connection refused>) (services:{MDNSServiceInfo(name='SM-M215F._googlecast._tcp.local.')})
2025-04-04 23:40:41.845 INFO (MainThread) [music_assistant] Loaded plugin provider Home Assistant
2025-04-04 23:40:41.909 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-29) [pychromecast.dial] Failed to determine cast type for host <unknown> (<urlopen error [Errno 111] Connection refused>) (services:{HostServiceInfo(host='192.168.2.55', port=8009), MDNSServiceInfo(name='SM-M215F._googlecast._tcp.local.')})

From the docs

Not Yet Supported. * Automatic synchronization at a given interval. Podcast feed information must be refreshed manually

You need to be using the MA Cast Provider not the HA integration

I’ve today replaced a Yamaha receiver which was integrated into HA with Music Assistant with a new Marantz Cinema 50 (it uses the Denon AVR integration and the HEOS integration).

I had some challenge getting a properly controllable Music Assistant player. The HEOS-created entity has no power control but can browse and play in MA, the Denon AVR-created entity cannot play (throws an error in logs and does nothing) but can turn on and off. Using a UPNP/DLNA player also works, but no power control again, and MA does not generate a MA player for this as far as I can see, which makes embedding into a dashboard harder. I tried a universal media_player in configuration.yaml, but that kept running into other issues.

In the end what worked (in case this is of use to anyone else) was using the HEOS entity as the MA player, but with a custom power control pointing to the AVR entity. Nice that you can do that - great work MA team.

What I cannot get working perfectly though is Zone 2. There is no HEOS entity created for the Zone 2 entity, so I’m using the Denon AVR entity as the player. MA player based on this works almost completely OK - it can turn on Zone 2, select and play music. But you can’t turn OFF Zone 2 from MA:
image
Even clearing the queue in MA and then trying to turn it off does the same thing:
image

For now I’ve put an ECO standby off on Zone 2, but it would be good to be able to turn Zone 2 off from MA.

Any suggestions?

Join the club.

And is there an action for that (as one might expect from an automation platform?)

@nickrout There isn’t an action as yet. What provider are you using? How do you currently update it? (Synchronise now?)