Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 1.67 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.67 KB

spotty

This repository is discontinued

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.

Introduction

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.

Disclaimer

Using this code to connect to Spotify's API is probably forbidden by them. Use at your own risk.

License

Everything in this repository is licensed under the MIT license.