hass-music-assistant: Linkplay Spotify Not work

What version of Music Assistant has the issue?

2022.8.2

The problem

To play a spotify playlist I had configured this automation and I was playing on the media player created by music assistant now it no longer works and I can’t even play a tts or other I use an integrated speaker with linkplay, if I use local music and the media_player player. seeme_hifi works but with media_player.mass_seeme_hifi it does not work, I see that the state is changed in playback but the speaker does not emit any sound

alias: V Spotify
description: ""
trigger:
  - platform: event
    event_type: rhasspy_Spotify
condition: []
action:
  - service: media_player.play_media
    data:
      media_content_type: playlist
      media_content_id: >-
        https://open.spotify.com/playlist/2LC2VouwE0aoOFVhmAffCf?si=f186971dba244936
    target:
      entity_id: media_player.mass_seeme_hifi
mode: single

How to reproduce

Use a linkplay speaker and try to play any source of music from music assistant, if i switch on this configuration Create mediaplayers for Music Assistant players in Home Assistant i have an only music player but not works, if i switch of i have two different music player the original media_player.seeme_hifi and the other created from Music Assistant media_player.mass_seeme_hifi, the last one doesn t work

Relevant log output

2022-08-12 18:17:15.380 INFO (MainThread) [music_assistant.players.stream] Start Streaming queue track: database://track/452 (Vale pain/Neima Ezza - 1 COLPO) for queue SEEMEHiFi - crossfade: False
2022-08-12 18:17:18.860 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03
2022-08-12 18:17:21.860 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03
2022-08-12 18:17:24.862 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03
2022-08-12 18:17:25.379 WARNING (MainThread) [music_assistant.players.stream] Abort: client(s) did not connect within 10 seconds.
2022-08-12 18:17:25.862 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.seeme_hifi is taking over 10 seconds
2022-08-12 18:17:27.864 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03
2022-08-12 18:17:30.866 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03
2022-08-12 18:17:33.867 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03
2022-08-12 18:17:36.869 WARNING (MainThread) [homeassistant.components.media_player] Updating linkplay media_player took longer than the scheduled update interval 0:00:03

Additional information

No response

What version of Home Assistant Core are your running

2022.8.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 64 (34 by maintainers)

Most upvoted comments

Told you. Your network issues.

the problem was that i set the static ip of my HAOS on my router, but i also have set the static ip in the network setting of HA, i think that it was the problem, because i set dhcp yesterday but seam that it doesn t work but this morning i shutdown my raspy and i turned it on, now everething works fine

OK, change it then manually to your local IP ? http://1.2.3.4:8123

In that case disable the metadata in the stream settings… Music Assistant interface --> click Queue --> click the dots in the upper right corner for the contextmenu choose advanced --> Set “ICY metadata” to disabled.

A little busy lately, I’ll try to look next week.