TooTallNate/node-spotify-web — pull request #27 by adammw (2013-07-13 15:25:25+00:00)
Title: Emit error on track.play() stream if server does not respond with 200 status code

I keep getting invalid URLs returned from track_uri requests. Obviously this patch doesn't fix them, but it should at least cause an error when it occurs to stop node from crashing by trying to parse an access denied message as an mp3 file. Not sure if it's the right way of doing things, I know streams + errors are difficult to get right.