Move your music library from Winamp to iTunes

In a previous post I helped you to switch your music library from iTunes to Winamp, without losing any metadata (such as last play date, play count, rating…). Now Winamp has stopped releasing new versions, some might want to switch back sooner or later. I’ve made the switch as a kind of experiment to see whether it would be possible to keep (the most valuable metadata). iTunes won’t be able to please me in the near future, but as time goes by, it might be the only easy way to sync with my old iPod Classic and iPad.

What do you need?

Winamp 5.666 (media library required, standard Winamp installation)
– Your favorite txt notepad software with find/replace features (Notepad++, GVim, …)
iTunes 11.2.2.3

It will please you to hear that moving the library back to iTunes is less complicated than the reverse option.

Steps

Start up Winamp

Winamp export media database

The default view has a button called ‘library’ at the bottom of the left column (media library column). Click, and choose ‘export media database’. This will create an iTunes XML library database.

Start up your favorite txt editor

Open the XML file created by Winamp in the previous step. Replace F below with the drive letter on your system. Find:

<key>Location</key><string>file://localhost/F:%5

Replace with

<key>Location</key><string>file://localhost/F:/

(so the only thing that needs replacement is %5 to /)

Save and close XML file

Start up iTunes

iTunes import XML database from Winamp

File (Alt + F) > Library > Import playlist… Choose the XML file

If you have lots of media files, this will take some time.

3 thoughts on “Move your music library from Winamp to iTunes”

  1. Hello,

    I tried to follow your instructions but when I’m importing the playlist, itunes gives an error, an unknown error occurred, -50. It’s not importing the right amount of songs, it’s leaving around 4,000 of them.
    I hope you can help me fix that.

  2. Thanks for the instructions.
    In my export XML-file I had to replace ‘%5C’ to ‘/’

    After figuring this out it worked fine for me!
    I use WinAmp 5.65 and iTunes 12.3.1

    Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *