WeeJeWel/spotify-mp3-downloader — pull request #11 by harianus (2014-03-27 16:07:21+00:00)
Title: Use mkdirSync so there always will be a folder when saving the song

Sometimes saving a song fails.

You'll get this error: Error: ENOENT, open '/path/to/spotify-mp3-downloader/mp3/artist/album/track.mp3'

You can prevent this by using mkdirSync instead of mkdir.