Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> alternative Spotify front ends can only ever control the official Spotify app and Spotify Connect devices which is a real shame

I haven’t used Spotify for a long time since switching from Spotify Premium to Apple Music, but I know of a third party open source library that might be of interest to people who have Spotify Premium and would like to explore alternative frontends:

> librespot is an open source client library for Spotify. It enables applications to use Spotify's service to control and play music via various backends, and to act as a Spotify Connect receiver.

https://github.com/librespot-org/librespot

More details from same GitHub page:

> A sample program implementing a headless Spotify Connect receiver is provided. Once you've built librespot, run it using :

> target/release/librespot --name DEVICENAME

> The above is a minimal example. Here is a more fully fledged one:

> target/release/librespot -n "Librespot" -b 320 -c ./cache --enable-volume-normalisation --initial-volume 75 --device-type avr

> The above command will create a receiver named Librespot, with bitrate set to 320 kbps, initial volume at 75%, with volume normalisation enabled, and the device displayed in the app as an Audio/Video Receiver. A folder named cache will be created/used in the current directory, and be used to cache audio data and credentials.



librespot is a great project, but I haven’t used it to resurrect the native Spotify client I had been working on because it’s technically reverse engineered, which means users of my client risk having their accounts banned (however unlikely that may be).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: