oneteam-onedream/flatiron-playlister — pull request #17 by davidbella (2013-11-04 02:07:06+00:00)
Title: Playing a song in Spotify works now

Will play the requested song in the console!

Some notes:

search for a song
go to localhost:9292/spotify/play/spotify:track:
listen!

You can't ctrl+c out of the server. This is due to the way that the server works, like synchrony and forking and threads or whatever. We will have to find a way to break this off (EventMachine no doubt) otherwise playing a song will block the entire app.

To stop playback you have to
ctrl+z
ps aux | grep ruby
kill -9