hass-music-assistant: mass.play_media error

What version of Music Assistant has the issue?

2.0.0b116

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

2024.3.3

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

  • Yes

The problem

Occasionally when starting a Tidal playlist using the mass.play_media service call, the playlist does not start. The service call returns an error mentioning artist but I am playing a playlist. MA log seems to indicate a 404 error at the same time.

How to reproduce

Doesn’t happen 100% of the time. The service call is:

service: mass.play_media
metadata: {}
data:
  media_type: playlist
  enqueue: replace
  media_id: "{{ playlist_name }}"
target:
  entity_id: "{{ media_player }}"

Music Providers

Tidal HiFi Plus

Player Providers

DLNA

Full log output

HA and MA logs are attached here. ma-log.txt ha-log.txt

Additional information

Have not tried other music providers. Player is DLNA: Denon AVR-X4400H Player is not grouped Playback is initiated with the service call mentioned. Shuffled Tidal playlist. Using HAOS Unclear why it works sometimes. As I mentioned there is an intermittent 404 error. I suspect that this is the root and it coincidentally is the first song it tries to play

What version of Home Assistant Core are your running

2024.3.1

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Comments: 24 (11 by maintainers)

Most upvoted comments

Furthermore, the troubleshooting instructions ask for much more info in ALL reports. Please provide that information.

Understood. I have reformatted the original report and added information. Unfortunately this doesn’t happen 100% of the time which leads me to believe that it’s a particular track or tracks within the Tidal playlist that Tidal is returning some error or response for when we try to play it. That’s when we get the error.