Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mass.play_media action fails when radio_mode:true with Spotify #3241

Open
1 task done
1joneselliot opened this issue Nov 28, 2024 · 1 comment
Open
1 task done

mass.play_media action fails when radio_mode:true with Spotify #3241

1joneselliot opened this issue Nov 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@1joneselliot
Copy link

What version of Music Assistant has the issue?

2.3.3

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

2024.11.4

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

  • Yes

The problem

When using the action "mass.play_media" in a Home Assistant automation or script, the action fails with error "Error: recommendations not found", only when the "radio_mode" parameter is set to "true". When it is changed to "false", the action works as expected. No difference in behavior for grouped/ungrouped players. This was working without issue in my automations since before 2024.11.4.

Radio mode seems to be enabled by default in the web player (I couldn't find a way to turn it on/off) and works as expected.

How to reproduce

Create a Home Assistant automation that uses the mass.play_media action with radio mode enabled. Run the automation. Observe the "Error: recommendations not found" error.

Music Providers

Spotify
I have no other providers

Player Providers

Google Nest Mini, Google Nest Hub, Samsung TV
Issue occurs on all players

Full log output

music-assistant.log

Additional information

Have tried rebooting HA as well as reloading MASS, re-registering Spotify, etc.

What version of Home Assistant Core are your running

2024.11.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Linux

@OzGav OzGav added bug Something isn't working and removed triage labels Nov 29, 2024
@OzGav
Copy link
Contributor

OzGav commented Nov 29, 2024

Confirmed. Will be looked at soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: NEXT
Development

No branches or pull requests

2 participants