Skip to content

Instantly share code, notes, and snippets.

@ccdunder
Forked from dergachev/grooveshark-to-spotify.rb
Last active January 4, 2016 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccdunder/8554044 to your computer and use it in GitHub Desktop.
Save ccdunder/8554044 to your computer and use it in GitHub Desktop.
Go here to export playlists: http://groovebackup.com/
Each playlist will look like this:
```
"SongName","ArtistName","AlbumName"
"Oxford Comma","Vampire Weekend","Vampire Weekend"
"Le Vent Nous Portera","Noir Désir","Radio Bemba Sound System"
"Na neh na","Vaya Con Dios","Top 2000"
"Discordance","Paris Combo","Motifs"
"Indie Rock N Roll","The Killers","Hot Fuss"
"Tassez-vous de d'là","Les Colocs","Dehors novembre"
"J't'emmène au vent","Louise Attaque","Louise attaque"
"En berne","Les Cowboys Fringants","Break syndical"
```
Then install csvkit if you don't already have it:
```
easy_install install pip
pip install csvkit
```
Then use it to rewrite the csv:
```
cat playlist.csv | csvcut -c 2,1
```
Then paste that to http://www.ivyishere.org/ivy/ (there's a tab for pasting)
This will produce the following:
```
spotify:track:2Ml0l8YWJLQhPrRDLpQaDM
spotify:track:6APJjwrtVrFllc5wFD9Tg6
spotify:track:6QQy4g2eBwjMtnuR4b1HCs
spotify:track:5WEjx5F0yN1Qy85mIzHMom
spotify:track:15rn9UNrC8bx2sTXCJQYc0
```
This can be pasted into spotify playlist, in the desktop app.
Adapted from http://community.spotify.com/t5/Help-Accounts-and-Subscriptions/Import-Grooveshark-playlists/m-p/452358/highlight/true#M57419
@Ajedi32
Copy link

Ajedi32 commented Aug 16, 2014

👍 Nice fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment