Skip to content

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

wilsonwaters/spotty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotty

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 77.2%
  • Perl 13.3%
  • Dockerfile 5.9%
  • Shell 3.6%