Alex Hanson created a solid tool for exporting Rdio data. Find it here. One of the outputs of this tool is an albums.ndjson
file. Store this in a memorable location on your computer – this program will require it.
- Go to the Spotify Developer Wesite and click "Create an App" in the button in the top right.
- Choose any title / description. I put "SpotifyImport" as my title.
Probably the easiest way to do this is the following:
- Add http://localhost:8888 as a
uri_redirect
on your app management page. - Go to this URL: https://accounts.spotify.com/en/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback&scope=user-library-modify&response_type=token&state=123
- You'll be redirected to the
localhost
page, but your access token (access_token
) will be in the URL. Copy that.
$ git clone https://github.com/knappg/spotify-import.git
$ cd spotify-import
$ npm install
$ ./import
- Many albums are not found. I'm preferring to search by UPC if we have it. As far as I can tell, there's a few inherent differences in collection that Spotify offers vs. other services like Rdio. A better future change would be to attempt a fallback to searching by album name, if we don't find by UPC.