Download MP3 files of Spotify tracks
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
A simple command line utility to download MP3 files of Spotify tracks. Note those files are downloaded from Grooveshark, not from Spotify itself.
Grooveshark, the service this app was relying on, has shut down. Don't expect it to work anymore :(
$ sudo gem install spotify-to-mp3
sudocan be ommited if using rvm or similar.
Make sure you have rubygems installed and configured:
$ sudo apt-get install ruby2.0 ruby2.0-dev $ echo 'PATH=$PATH:/var/lib/gems/1.9/bin' | sudo tee /etc/profile.d/rubygems1.9.sh >/dev/null
$ sudo gem2.0 install spotify-to-mp3
songs.txt) and copy the Spotify songs URLs to it. Plain song names are also accepted. It will look like this:
http://open.spotify.com/track/1JqTcOjOn7gEpeC0JcRVPa spotify:track:1fE3ddAlmjJ99IIfLgZjTy The Drums - Money
$ spotify-to-mp3 songs.txt
Also, as it's common in Unix programs, you can pipe in the songs:
$ echo white knuckle ride | spotify-to-mp3
and drag the songs from the Spotify app to the terminal.
A big thanks to @dulakm for such great contributions!
$ gem install bundler $ bundle $ bundle exec spotify-to-mp3 $ bundle exec rspec
Bump version in spotify-to-mp3.gemspec
$ gem build spotify-to-mp3.gemspec $ gem push spotify-to-mp3-[version].gem