-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: change spotify version needed in clientoken to use semantic format #1267
fix: change spotify version needed in clientoken to use semantic format #1267
Conversation
6fe420b
to
a99a210
Compare
a99a210
to
d881f46
Compare
Which platforms are tested with this? Is it the string formatting that's important here or just the newer version number? It's a bit odd we still have the old version number in use elsewhere. |
Good question - I'm not sure. I stumble across this as I was comparing the protobuf message between the Spotify Desktop Client and Librespot and noticed that the My guess is that Edit: tested on Linux amd64 |
FWIW, this also silences the warnings from #1261 for me (also Linux amd64). |
I'll merge it as it's clearly an important "hot fix". Thanks. Ideally though all the number versions should be consistent with the protocol version at that time, meaning that the protobufs match / were extracted from that client version. If someone could do that... |
I'd be happy to give it a go, but not sure how to do that. Is there wiki or doc? Or is that a matter of digging in Spotify files to find where they have been packed? |
Is this something that's worth backporting to the |
Are you sure? The current release is 0.4.2 and doesn't use a client token to get metadata via HTTP, it uses Mercury. It would be impossible to backport this fix to master. I'm not saying there isn't a similar problem in master but it seems unlikely to be exactly this. |
Librespot doesn't as a binary. This token is then used to request HTTP metadata and according to the bug report hrkfdn/ncspot#1421 seems to be suffering from the same issue reported in #1261. |
Fixes #1261