music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.2k stars 44 forks source link

Homeassistant mass.play_media broken since 2.1.0b6 #2479

Closed gpgmailencrypt closed 2 weeks ago

gpgmailencrypt commented 2 weeks ago

What version of Music Assistant has the issue?

2.1.0b6

What version of the Home Assistant Integration have you got installed?

2024.5.5

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

The call below ("How to reproduce") leads to an exception: "list indices must be integers or slices, not str" It did work with all versions before 2.1.0b5.

Same happens when a radio station is called

How to reproduce

service: mass.play_media target: entity_id: media_player.radio_test data: media_id: The Best of Glenn Miller

Music Providers

Player Providers

Sonos

Full log output

musicassistant.log

Additional information

No response

What version of Home Assistant Core are your running

2024.5.5

What type of installation are you running?

Home Assistant Supervised

On what type of hardware are you running?

Linux

marcelveldt commented 2 weeks ago

Please update the HA integration to 2024.6.2

OzGav commented 2 weeks ago

This has been reported as fixed in the latest version of the integration. Please advise if not for you.

gpgmailencrypt commented 2 weeks ago

Just updated, it works now. Thanks