Skip to content

Spotify (Librespot) fails to play any tracks #4392

Description

@Michi0606

What version of Music Assistant has the issue?

2.6.0b21

How is the MA server installed?

Home Assistant OS Addon

Carefully read the Troubleshooting FAQ and confirm that

  • I have examined the logs and tried to resolve this issue
  • I have fixed any errors in the logs that relate to tags
  • I am not running MA across a VPN, VLAN, subnet, behind a firewall, or using local SSL or have any other complex network setup
  • I have disabled tool such as AdGuard, Pi-hole or pfSense and retested
  • I have checked my network setup to ensure mDNS/multicast is not being blocked
  • If using HA, I have confirmed the internal URL is set correctly
  • I have tried a wired connection for issues related to interrupted or poor playback quality
  • If the problem relates to a device then I have checked the device settings
  • If it is a frontend issue, I have tried a different widely used browser
  • I have reviewed the applicable player or music provider documentation
  • For voice problems, I have sought help elsewhere before returning here
  • For playback problems, I have recycled power to the physical device
  • I have tried restarting MA and rebooting the host

Have you reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

librespot-org/librespot#1623

Looks like Spotify changed something again on their servers and is causing librespot to stop playing tracks. I can successfully connect but tracks do not play. On initial connect there is a log that indicates setup of state failed: invalid state and a 400 bad request with the message that the client specified an invalid argument. Skipping to the next track causes librespot to fail with continuous "Track should be available, but no alternatives found"

[2025-11-07T10:39:08Z INFO librespot] librespot 0.6.0-dev accecb6 (Built on 2025-08-10, Build ID: 3IxFEb9f, Profile: release)

[2025-11-07T10:39:09Z ERROR librespot_playback::player] Track should be available, but no alternatives found.

How to reproduce

Try to play Songs from Spotify

Music Providers

Spotify

Player Providers

UPnP

Full log output

d5369777_music_assistant_beta_2025-11-07T10-39-23.250Z.log

Additional information

[33m2025-11-07 11:39:03.757 WARNING (MainThread) [music_assistant.spotify] No audio received from librespot within timeout - will retry once�[0m
[2025-11-07T10:39:08Z INFO librespot] librespot 0.6.0-dev accecb6 (Built on 2025-08-10, Build ID: 3IxFEb9f, Profile: release)
[2025-11-07T10:39:08Z INFO librespot] Connecting...
[2025-11-07T10:39:08Z INFO librespot_core::session] Connecting to AP "ap-gew4.spotify.com:4070"
[2025-11-07T10:39:09Z INFO librespot_core::session] Authenticated as XXXX
[2025-11-07T10:39:09Z INFO librespot_core::session] Country: "DE"
[2025-11-07T10:39:09Z INFO librespot_playback::audio_backend::pipe] Using StdoutSink (pipe) with format: S16
[2025-11-07T10:39:09Z ERROR librespot_playback::player] Track should be available, but no alternatives found.
[2025-11-07T10:39:09Z WARN librespot_playback::player] spotify:track:3tKuxwd54MWKpdOpWPPL20 is not available
[2025-11-07T10:39:09Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:3tKuxwd54MWKpdOpWPPL20")>: ()

What version of Home Assistant Core (if used) are your running

2025.11.0

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Alternative

Have you included ALL of the information specified in the Troubleshooting FAQ or explained why you cannot

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions