Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

jacobian/rdio-takeout-importer

Repository files navigation

This can help export your Rdio collection into Spotify or Google Play Music

This is entirely crummy, "works for me"-style code. It may work for you, but it probably won't. Please don't use this unless you're willing to do some serious debugging and fooling around. If it breaks, I probably can't help you, sorry.

Still want to play?

OK, here's how I did this:

First, you need the same kit as I have:

  • Chrome
  • Python 2.7 (probably works with other versions, haven't tried).
  • iTerm2 beta version (this is how I did images. you can probably rip this out without much trouble if you don't want to use iTerm2)
  • Rdio and Spotify accounts, natch.

Then:

  1. Export your Rdio stuff by visiting https://rdio.com/farewell. Move the 1_favorites/favorites_albumsandsongs.csv file into a file called collection.csv in this directory.

  2. Convert the collection csv into a sqlite db you need for the next step: python rdio_export_to_sqlite.py

For Spotify:

  1. Create a Spotify API application on this page

  2. Modify r2s.py, filling in the 4 constants up at the top with the info from the app you created above. The redirect URI can be any valid URL, make sure you hit "save" at the bottom after entering it. When you run the r2s.py program it will have you manually copy in the URL that you are redirected to, no server is required.

  3. Install your Python kit: pip install -r requirements-spotify.txt

  4. Run the converter! python r2s.py. It'll try to match albums in Rdio to equivalents in Spotify. If no results are found, you get a chance to manually enter artist/album for a search. Then, you'll see the best match, and can add it, try the next match, or skip the album entirely (for music you don't want to port over).

For Google:

  1. If you use MFA for your Google account, create an application-specific password by visiting https://myaccount.google.com/security and clicking on "App Passwords". (If you don't use 2FA: what the heck are you thinking? Fix that now!)

  2. Modify r2g.py, filling in the 2 constants up at the top with your username (i.e. email) and app-specific password.

  3. Install your Python kit: pip install -r requirements-gmusic.txt

  4. Run the converter! python r2g.py. It'll try to match albums in Rdio to equivalents in Google. If no results are found, you get a chance to manually enter artist/album for a search. Then, you'll see the best match, and can add it, try the next match, or skip the album entirely (for music you don't want to port over).

Caveats

Lots, I'm sure. Here are the ones I know of:

  • Doesn't do playlists. See http://soundiiz.com/.

  • Skips albums with less than 5 tracks saved in Rdio. Tweak around line 40 if you like.

About

This can help export your Rdio collection into Spotify or Google Play Music

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages