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

A simple Spotify Connect client allowing to pipe a single track's audio to stdout.

License

Notifications You must be signed in to change notification settings

michaelherger/spotty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.