https://github.com/thalhammer/libspotify-embedded
Reverse engineered header file for spotify embedded library found in android sdk.
https://github.com/thalhammer/libspotify-embedded
android-sdk c cpp header reverse-engineering sdk spotify
Last synced: 12 months ago
JSON representation
Reverse engineered header file for spotify embedded library found in android sdk.
- Host: GitHub
- URL: https://github.com/thalhammer/libspotify-embedded
- Owner: Thalhammer
- Created: 2018-05-15T12:12:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T19:05:40.000Z (about 3 years ago)
- Last Synced: 2025-03-27T06:51:20.799Z (12 months ago)
- Topics: android-sdk, c, cpp, header, reverse-engineering, sdk, spotify
- Language: C++
- Size: 40 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libspotify_embedded header
Spotify released a android Java SDK to allow android developers to stream music.
This SDK is a thin java wrapper around a C library called libspotify_embedded_shared.so which
seems to be a rewritten version of the long deprecated libspotify.
The library only contains the playback core and expects the programmer to use the web api to get metadata.
This header contains reverse-engineered prototypes for functions and structures.
There is no support from Spotify for this header and I have no clue how accurate this header is,
therefore use it with caution. It might segfault, crash in various "impossible" ways, burn down your house
and murder everyone you love. Or it might just work as expected.
As far as I can tell it seems to work mostly fine for me, but expect the unexpected.
## Requirements
You need to get your hands on a build of the spotify embedded sdk for your target platform. This research was carried out
using a 64bit arm android build, but it should work with slightly newer/older builds as well.
The exact version used is `220b-64bit-v2.18.357-geb2a1e50`. You can verify it by running strings on your
build or calling `SpGetLibraryVersion()`.
#### Logindata
Before you continue you need to create a header file called "login_data.h" and enter your spotify account into it.
```c++
#pragma once
#define SP_USER "username"
#define SP_PASSWORD "password"
```