Library is blank in Windows iTunes

Discussion in 'Mac Apps and Mac App Store' started by DVDSP, Jun 5, 2006.

  1. DVDSP macrumors regular

    Joined:
    Jan 6, 2003
    Location:
    Southwick, MA
    #1
    A friend of mine is using iTunes on Windows. Today "something happened to the xml file" and now his library and playlists are blank. He says the music is still on his computer but he cannot re-import (using File>Import).

    What can he do to fix this? Keep in mind that his wife has a separate iTunes library on the same computer under a different log-in and everything is still working fine for her...

    Thanks in advance,
     
  2. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #2
    Maybe drag the XML and the accompanying iTunes Library Data file out of the iTunes folder and then try reimporting. :)
     
  3. DVDSP thread starter macrumors regular

    Joined:
    Jan 6, 2003
    Location:
    Southwick, MA
    #3
    He just tried that and gets: "An unknown error occurred (-50)"

    Can he reinstall iTunes and not screw it up on his wife's side?
     
  4. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #4
    Wait, it's Add To Library, not Import. Sorry, I missed that the first time I read your post. :eek:

    Alternatively, drag the folder containing the music to an open iTunes window. Reinstalling iTunes shouldn't be necessary but shouldn't affect the wife's account either. :)
     
  5. amholl macrumors 6502

    Joined:
    Dec 21, 2004
    Location:
    Boston
    #5
    Since they are on different partitions I don't think it is possible.
     
  6. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
  7. frankblundt macrumors 65816

    frankblundt

    Joined:
    Sep 19, 2005
    Location:
    South of the border
    #7
    you don't need to re-install iTunes, because the app itself is working fine on your wife's account (it won't matter if you do however, like MJ said).

    Trash and delete the library and xml files in your User/Music/iTunes folder (but not the iTunes Music folder!) with iTunes off.

    Restart iTunes (it should generate clean Library files) and "Add to Library.." picking the iTunes Music folder.
     
  8. mannix87 macrumors 6502

    Joined:
    Nov 16, 2005
    Location:
    in the southeast
    #8
    ^^ this however might delete your playcounts and playlists (?)
     
  9. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #9
    Yeah, it won't keep playcounts and playlists but it should at least get the music back. :)
     
  10. w00master macrumors 65816

    Joined:
    Jul 18, 2002
    #10
    Before trashing your "iTunes Music Library.xml" file, try one more thing. Open up "iTunes Library.itl" file in a text editor of some sort. Then (I know this sounds crazy), select all and delete everything, then SAVE. The file size should now be 0 KB. Now open up iTunes, it should try to reload your iTunes Music Library.xml file, and you should receive a prompt of some sort saying that your music library has been damaged and asks if you'd like to recover. Click "yes." You should then have retained all your playlists, smart playlists, and playcounts.

    The one thing this process doesn't do is bring over your podcasts/video podcasts.

    If this doesn't work, then you probably need to reload your library.

    w00master
     

Share This Page