Use Spotify from the command line
Add this line to your application's Gemfile:
$ gem install shellify
- Create an application on the Spotify Developer Dashboard.
- Add
http://localhost:8888/callback
to the Spotify Application's Redirect URIs - Run
shellify configure
- Run
shellify authenticate
$ shellify
Now Playing:
3 Libras - A Perfect Circle - 02:24/03:39 - ♥
See shellify help
for a full list of commands.
Shellify is basically a just a wrapper for RSpotify and wouldn't be possible (without significantly more effort) thanks to the work that's already been done over there.
The gem is available as open source under the terms of the MIT License.