DEV Community

Samuel Viana
Samuel Viana

Posted on

A third-party Python Client for Spotify (and tips on how to make your own...)

ReSpotGUI
The integration of Spotify, the great daddy of audio streamers with third-party apps has been difficult over the years. Years ago, in their beginning they liberated libspotify, coded in for integration with different clients. Integration with major audio players like Foobar, Clementine and MusicBee were working, but in 2015 the company decided to drop the new development on the library and decided to shut down the integration last June.
The new feature called Spotify Connect that allows multiple device to act as remote controller for the device that its playing in real time made new possibilities. But the wheel was inventend with LibReSpot, a library written in Rust. More libraries ported from the original in Rust appeared later in Go and Java. This last one is special, since it allows to be controlled by HTTP requests and interacts with a potential client through WebSockets. So a good player is possible to be built through a GUI library, and so I picked the most user friendly GUI framework, PySimpleGUI, that wraps multiple and more complex GUI frameworks like Tkinter and PyQT providing easyness of development.

Top comments (0)