[GH-ISSUE #1253] Librespot instance not shown in latest android/web spotify app #574

Open
opened 2026-02-27 19:31:21 +03:00 by kerem · 5 comments
Owner

Originally created by @xhpohanka on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1253

Describe the bug
I'm not sure when it started, but my librespot instance is not visible anymore in spotify application. The only solution I found is to use -u and -p and let the librespot log in with my credentials.

Spotify application on my linux box in version 1.2.26.1187.g36b715a1 is still able to show and connect to librespot even without login.

Is this behavior documented somewhere?

Originally created by @xhpohanka on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1253 **Describe the bug** I'm not sure when it started, but my librespot instance is not visible anymore in spotify application. The only solution I found is to use `-u` and `-p` and let the librespot log in with my credentials. Spotify application on my linux box in version `1.2.26.1187.g36b715a1` is still able to show and connect to librespot even without login. Is this behavior documented somewhere?
Author
Owner

@kingosticks commented on GitHub (Feb 20, 2024):

Librespot running on what platform?

<!-- gh-comment-id:1953924465 --> @kingosticks commented on GitHub (Feb 20, 2024): Librespot running on what platform?
Author
Owner

@xhpohanka commented on GitHub (Feb 20, 2024):

I first noticed it on my RPi box running libreelec.
I can reproduce it on my workstation with up to date Arch linux.

Update:
android spotify 8.9.12.599 works
8.9.14.543 does not...

<!-- gh-comment-id:1953930537 --> @xhpohanka commented on GitHub (Feb 20, 2024): I first noticed it on my RPi box running libreelec. I can reproduce it on my workstation with up to date Arch linux. Update: android spotify `8.9.12.599` works `8.9.14.543` does not...
Author
Owner

@gianklug commented on GitHub (Feb 21, 2024):

Can reproduce as well, -u and -p works.

<!-- gh-comment-id:1956466104 --> @gianklug commented on GitHub (Feb 21, 2024): Can reproduce as well, `-u` and `-p` works.
Author
Owner

@noahhaon commented on GitHub (Feb 28, 2024):

Yes, this has been the case for some time. The issue is that the app must be running on a mobile device on the same network as librespot for discovery and credential sharing to work. Librespot will seem flaky if it restarts and the mobile app discovery stuff isn't visible to it. It will fail to connect and will no longer be visible through through the web API.

You can use the web API directly to help diagnose this:

https://api.spotify.com/v1/me/player/devices

<!-- gh-comment-id:1969584648 --> @noahhaon commented on GitHub (Feb 28, 2024): Yes, this has been the case for some time. The issue is that the app must be running on a mobile device on the same network as librespot for discovery and credential sharing to work. Librespot will seem flaky if it restarts and the mobile app discovery stuff isn't visible to it. It will fail to connect and will no longer be visible through through the web API. You can use the web API directly to help diagnose this: [https://api.spotify.com/v1/me/player/devices](https://developer.spotify.com/documentation/web-api/reference/get-a-users-available-devices)
Author
Owner

@xhpohanka commented on GitHub (Mar 13, 2024):

All this seems strange to me
I have found that librespot without specified username works fine for my wife using Samsung S24 and Spotify 8.9.20.574, my Xperia with same Spotify version does not see the instance at all. When I use the username then my wife's phone is not able to connect (we don't have a family account). The web API behaves the same as my phone.

<!-- gh-comment-id:1995887835 --> @xhpohanka commented on GitHub (Mar 13, 2024): All this seems strange to me I have found that librespot without specified username works fine for my wife using Samsung S24 and Spotify 8.9.20.574, my Xperia with same Spotify version does not see the instance at all. When I use the username then my wife's phone is not able to connect (we don't have a family account). The web API behaves the same as my phone.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#574
No description provided.