Skip to content

Reverse engineered header file for spotify embedded library found in android sdk.

Notifications You must be signed in to change notification settings

Thalhammer/libspotify-embedded

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

#pragma once
#define SP_USER "username"
#define SP_PASSWORD "password"

About

Reverse engineered header file for spotify embedded library found in android sdk.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published