❗ Please note that this repository is no longer maintained. I continue development of the spotty
helper application as a fork of librespot. Head over to https://github.com/michaelherger/librespot and check out the spotty
branch. ❗
Feel free to continue reading... but the below information is outdated and obsolete.
spotty is an open source client application for Spotify. It's based on and using librespot. It basically is a stripped down and slightly customized version of the librespot sample application.
spotty has been tweaked to enable interaction with the Logitech Media Server.
- allow piping of a single track's audio data to LMS' transcoding framework (
--single-track
) - optionally start stream from given position in seconds (
--start-position 123
) - tell spotty in daemon mode how to notify LMS about state changes (
--lms {ip address}
and--player-mac {MAC address}
) - get a token to be used with the Spotify Web API (
--get-token
) using a given client-id and scope (--client-id abcd-...
,--scope ...
)
In order to enable all these features it uses a slightly customized librespot to be found on my GitHub account.
Using this code to connect to Spotify's API is probably forbidden by them. Use at your own risk.
Everything in this repository is licensed under the MIT license.