An even easier method: Stamp Music
There is an easier and better way: link
Apple released Apple Music yesterday, and as often happens when a good service arrives later on the market: users need to migrate their data from existing solutions to the new one. Although Apple offers a convenient way to migrate from Beats to Apple Music, users of other platforms aren’t offered an easy solution.
After Googling around and playing with a couple of Spotify Exporters I’ve figured out a way to export my Spotify playlists to Apple Music.
This procedure requires a lot of manual labour. Most of it could be scripted, but since I only wanted to migrate my starred songs, I didn’t really botter.
Secondly, the import into Apple Music is based on track name, artist and album, and Apple only imports songs that 100% match the iTunes Store. So not all songs can be imported, but most of them do
What doesn’t get imported:
- Spotify calls an album The Social Network, and Apple calls it The Social Network (Soundtrack)
- Spotify has it written as Nick Cave and The Bad Seeds, and Apple used Nick Cave & The Bad Seeds.
Once you can export the song data out of Spotify the only work you really have is converting the file from a pattern that works for Spotify to one that Apple understands.
What bothers me a lot, and that’s currently out of our hands, is the 60% succes rate based on the way tracks match Apple’s database. If someone has a script that can search the iTunes Store for a better matching title based on the export from Spotify, feel free to share it.
Part 1: Getting data out of Spotify
- Go to Exportify and authenticate with your Spotify account.
- Select a playlist you would like to migrate and click the Export button.
- A new tab opens with a text based view of your playlist, do a Select All and copy to BBEdit or your text editor of choice.
- Replace the comma’s with semicolons to convert the data into a csv file Numbers can read.
- Save as export.csv
If you want to verify the validity of the file you can use Quicklook to check if all the colums are correctly aligned. Often a misplaced , or ” in the middle of a songtitle can mess things up. Luckily this is easy to solve by either removing the character or by putting a backslash in front of it.
Part 2: Convert to iTunes Playlist format
- Open export.csv in Numbers
- Delete all columns that aren’t Artist, Album, Name, CD, Track
- Sort alfabetically for convenience
- Open this template file in Numbers. It contains all the necessary headers for iTunes to match tracks when you import it later.
- Copy the corresponding columns from the first numbers file to this new one.
- Export again as a your_playlist_name.csv and pick Unicode UTF-8 as a type.
- Finally, open the csv in BBedit and replace the semicolons with a TAB so iTunes can work with it.
Part 3: Import into iTunes
- Open iTunes 12.2.2
- Make sure you have Apple Music enabled and are logged in correctly to your account.
- Go to File > Library > Import Playlist and pick your_playlist_name.csv
- iTunes will take a few moments to match the songs and a new playlist should appear with your songs.