question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linkplay Spotify Not work

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:64 (33 by maintainers)

github_iconTop GitHub Comments

2reactions
nagyrobicommented, Sep 2, 2022

Told you. Your network issues.

1reaction
lucasimonscommented, Sep 2, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

LinkPlay Integration - Home Assistant Community
Now it seems like this is not possible with spotify as they want you to use ... the first and the second one...
Read more >
Spotify Connect - Support - WiiM
Spotify is freeing your music from the device you use to listen to it. With a feature called "Spotify Connect,", you'll be able...
Read more >
Spotify connect problem - DIY Product Questions - Arylic Forum
Hello, From today my problems with spotify started. I cannot play spotify music on my Up2Stream Mini V3 and other audiocast (Linkplay) ...
Read more >
Spotify Connect not working on multiple 3rd party devices
Recently there have been numerous reports that Spotify Connect is not working on 3rd party devices like wireless smart speakers, ...
Read more >
News — Linkplay Technology
Spotify is inviting brands who have passed Spotify Connect certification to be ... After months of hard work, we're happy to announce the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found