mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 21:35:49 +03:00
[GH-ISSUE #189] New failed getting track metadata: invalid status code from track metadata: 500 or no supported formats #123
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iVolt1 on GitHub (Aug 6, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/189
Starting today, I am getting this error using the latest master:
I can test master builds as needed.
I could not find the location of the complete log so could someone please share that?
@leodurandfr commented on GitHub (Aug 6, 2025):
Same error happened today.
@devgianlu commented on GitHub (Aug 6, 2025):
This issue has two sintoms:
failed getting track metadata: invalid status code from track metadata: 500andno supported formats.It seems like Spotify either responds 500 or does not return the audio files when requesting the track metadata at
/metadata/4/track/.... The official client still uses the same endpoint in the same way, so they clearly fingerprinting something.Hopefully it's not something they have done on purpose to block us 😢
@devgianlu commented on GitHub (Aug 6, 2025):
c980afb118should fix it.I think they messed something up, metadata requests must go through
spclient.wg.spotify.com, but if you try to make "put state requests" with the same endpoint then it doesn't work. I have hardcoded it for metadata requests only.@devgianlu commented on GitHub (Aug 6, 2025):
I have released v0.3.2.
@iVolt1 commented on GitHub (Aug 6, 2025):
That fixed it. Thanks for the quick fix.
I know you have been busy with a bunch of things, but speaking of metadata, is https://github.com/devgianlu/go-librespot/issues/157 "Add metadata output to a pipe as it is in librespot-java #157" making it its way up your todo list?
Thanks,
iVolt1
@devgianlu commented on GitHub (Aug 6, 2025):
No, not really 😅
@devgianlu commented on GitHub (Aug 7, 2025):
It broke again, I think I had found a bypass rather than a fix 😅
@leodurandfr commented on GitHub (Aug 7, 2025):
It's back again 🥲
@devgianlu commented on GitHub (Aug 7, 2025):
Ok so they changed where the audio files come from, now the official client also gets empty lists and 500 responses.
@guidcruncher commented on GitHub (Aug 7, 2025):
Maybe unrelated but i was playing around with Sample rates to get a bitperfect playback configuration, I configured my card to use S24_3LE and consistently started to get this area above:
error="failed creating stream for spotify:track:4Goj7amQLl2PiPYaiB0VlV: no supported formats"
I then noticed that go-librespot didnt seem to suppport that sample rate and I reverted both back to S16 (Default) with a bitrate of 96000
Other apps were fine with S24_3LE - such as MPD.
@devgianlu commented on GitHub (Aug 7, 2025):
This is unrelated to your changes, it is broken for everyone.
@devgianlu commented on GitHub (Aug 7, 2025):
And now it works again :/
@dviel commented on GitHub (Aug 8, 2025):
@devgianlu commented on GitHub (Aug 9, 2025):
@dviel That isn't the go-librespot daemon though 🤔
@shaylavi commented on GitHub (Aug 9, 2025):
add the following to /etc/hosts
0.0.0.0 apresolve.spotify.com
restart your device and try again
worked for me
@devgianlu commented on GitHub (Aug 9, 2025):
Following a brief discussion with a fellow developer (https://github.com/librespot-org/librespot/discussions/1529#discussioncomment-14056825), I have deprecated the
/metadata/4/API in favor of/extended-metadata/v0/one.I am going to close this, let's hope I don't have to reopen it 😄
@leodurandfr commented on GitHub (Aug 26, 2025):
It looks like it is back again (on v0.3.3) :/
EDIT : And now working again 😬
@devgianlu commented on GitHub (Aug 26, 2025):
The error is truncated so I can't really tell what was the error. BTW, where did you click to get a
spotify:prerelease:URI?@leodurandfr commented on GitHub (Aug 27, 2025):
@devgianlu Sorry for the uncomplete error...
I found a way to find it back but still uncomplete...
About the "prerelease", I can not reproduce but it was while listening tracks from this album "https://open.spotify.com/prerelease/44NUCfRiQjTzKhFs67cf4X" which is partially released.
@devgianlu commented on GitHub (Aug 30, 2025):
@Leshauts It's not a prerelase anymore sadly, will have to find another one