Recovering iTunes Library

Discussion in 'Mac Apps and Mac App Store' started by Cavara34, Jun 30, 2014.

  1. Cavara34 macrumors member

    Joined:
    Aug 14, 2012
    #1
    iTunes recently crashed and I received an error message that the "iTunes Library.itl" file was damaged, marked as such, and replaced. I have no recent Time Machine backup (foolish, yes) and was surprised to find no previous library files. There were two .tmp files, a 44mb one from the previous day, and an 11mb one from the time of the crash. I tried marking and importing one and then other as a new "iTunes Library.itl" file. After several errors, both imported almost all of my library (which comes from two different folders), but both finished with errors, and I don't know how to determine what files are missing. The playlists were also gone.

    Is there anything more I can try to reimport the whole library from these files. If I had to rebuild the library from scratch, is there anywhere else that the playlist data is stored?

    Thanks for any help.
     
  2. Bruno09 macrumors 68020

    Joined:
    Aug 24, 2013
    Location:
    Far from here
    #2
  3. MCAsan macrumors 601

    MCAsan

    Joined:
    Jul 9, 2012
    Location:
    Atlanta
    #3
    Step one......address the significant problem of not doing TM backups. Otherwise, missing files may be a repeated problem.
     
  4. Cavara34 thread starter macrumors member

    Joined:
    Aug 14, 2012
    #4
    I couldn't make that work for some reason, thanks. Are the older "genius" and "extra" files of any use? Is the playlist date stored anywhere else?
     
  5. Bruno09 macrumors 68020

    Joined:
    Aug 24, 2013
    Location:
    Far from here
    #5
    I don't know (I would say no, and no).

    What was the problem ? That should work.
     
  6. Cavara34, Jun 30, 2014
    Last edited: Jun 30, 2014

    Cavara34 thread starter macrumors member

    Joined:
    Aug 14, 2012
    #6
    Well, maybe they worked, partly. I can't remember all the files renamed ".itl" now. Either the .xml or the .tm file restored most of the library, but not everything up to the crash date, and not the playlists.

    I've tried different .tmp and/or .xml files several times and they always end with "error at -50" messages after importing different amounts of the library every time.
     
  7. Bruno09 macrumors 68020

    Joined:
    Aug 24, 2013
    Location:
    Far from here
    #7
    Assuming that your iTunes Library.xml is NOT damaged (BTW, save it ! make a copy of it), here is a way :

    Quit iTunes, then relaunch it with the Option key depressed, select "new library".
    Name it : "iTunes NEW" or whatever your like.

    This will create a new, empty Library.

    Menu bar : File / Library / Import the list, browse to your "old" "iTunes Library.xml" file.

    iTunes will import ALL, including the music/video/etc files.
    That will create an exact copy of your old iTunes Library.

    Of course, this needs a lot of disk space !
    You can create the "iTunes NEW" on an external hard drive if you don't have enough space on your internal drive.
     
  8. Cavara34 thread starter macrumors member

    Joined:
    Aug 14, 2012
    #8
    That's what I've been trying to no avail. I keep getting the same "error (-50)" message. I appreciate the suggestion.
     

Share This Page