[Developer] Official alternative to libspotify

[Developer] Official alternative to libspotify


libspotify has been deprecated a few years ago, but Spotify hasn't provided viable alternatives in the meantime to programmatically stream content through an external application using a premium account.


LibreSpot seems a viable alternative for some of the features provided by libspotify, but it's not an official library and it doesn't offer much support if something changes or is broken on Spotify's end.


The main issue is that there are still many developers out there (open-source and not) who need an official library to build 3rd-party applications that can stream music through a Spotify premium account. Spotify Connect is a solution to some of these problems, but not all of them - it requires another device running an official Spotify app that can stream content to a receiver, it doesn't support the case where you want to run your own stand-alone player.


The deprecation of libspotify has resulted in multiple issues and dropped support for several pieces of hardware and software, such as:


4 Replies


And to be clear, Spotify's Web Playback SDK is not a suitable replacement for libspotify since playback with that is only possible in a Web browser. A replacement for libspotify was originally promised but never materialised. Please fulfil your promise.


The issue we have been experiencing lately with libspotify seem to be related to the hosts associated with being often down - probably as part of a decommissioning process or just lack of maintenance?


libspotify was used in a custom built radio box for my 1,5 old niece by her dad, that she was able to understand and control from being 1 year old on. the premium account in their family was just for this device. not only did turning off libspotify support cost you a premium subscription that is now useless, you also made a small child very unhappy. I still like Spotify, but yeah, this is just sad, as there is no alternative.


This was it for me, I was only paying premium in order to use my Mopidy Spotify home project which fitted my needs perfectly.

Goodbye, Spotify, I will switch to Youtube Music for any future app listening.

Suggested posts

Env: prod