mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #853] What changes are needed for free support ? #429
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#429
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 @cth-latest on GitHub (Sep 22, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/853
Hello guys, after reading the issues #261 and #415, I would have liked to know if anyone finally took care of doing the reverse engineering work for free account support. I would be happy to help with the integration of pubs, limited skips etc. I'm not very good at reverse engineering, so would require some help. (Also i think the spotify-analyze, is not really up to date (or maybe i'm too much retarded to use it aha))
Any help would be appreciated, thanks
@roderickvd commented on GitHub (Sep 22, 2021):
No, and the README has been clarified to read that we won't support this:
If you would be willing to donate your time, then we can use all the help to implement the new API with support for social play and the groundwork for Spotify HiFi in the future!
@roderickvd commented on GitHub (Sep 22, 2021):
Also you're right that
spotify-analyzeis out-of-date. It could use a refresh. In the meantime, I resort tolibrespot-javaas an authoritative reference of the new Spotify API.@cth-latest commented on GitHub (Sep 22, 2021):
If i'm not wrong @roderickvd, librespot-java don't support free accounts too.
What is the process to reverse the spotify app ? Do you have any methods to get endpoints etc ?
@roderickvd commented on GitHub (Sep 22, 2021):
That's right, member of the same "librespot organisation". I was referring to
librespot-javafor the new API, not for free accounts.Others are better at that than me. For the most part, it's inspecting Mercury frames, running Wireshark, and looking at web socket traffic. Myself, I look at
librespot-javaand try to port it.@cth-latest commented on GitHub (Sep 22, 2021):
Does librespot-java use the new API ? Because when i sniff the HTTP requests on the mobile application i find differents endpoints like "{base}/playplay/{hash}" that i don't find in the librespot-java. I know librespot is based on the desktop application but it should be the same SDK for both i think.
I need to work on my reverse skills, i'm really week aha
@devgianlu commented on GitHub (Sep 22, 2021):
They do not use the same API. There's also a new new API which is entirely HTTP and I haven't fully implemented (there are a couple of PRs open for that). @roderickvd is referring to the new API, which includes some HTTP and WS, but not as much as the new new API.
@cth-latest commented on GitHub (Sep 22, 2021):
Thanks for you precions, your help is really appreciated. Do have you any recommendations for reversing the android app ?
@devgianlu commented on GitHub (Sep 22, 2021):
MITM is your best friend in my opinion.
@cth-latest commented on GitHub (Sep 22, 2021):
Yeah i already started using an HTTP sniffer for that (If it's what you mean), i got endpoints but the problem is to get the data. For the protobuff i tried to use https://github.com/marin-m/pbtk and that work on the desktop app but not on the mobile app it's a bit strange. Maybe if i'm lucky the proto are the same as desktop version.