hass-music-assistant icon indicating copy to clipboard operation
hass-music-assistant copied to clipboard

Linkplay Spotify Not work

Open lucasimons opened this issue 2 years ago • 0 comments

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

lucasimons avatar Aug 12 '22 17:08 lucasimons