How To Rebuild Your iTunes Library

Update: Since the release of macOS Catalina, iTunes is no longer available on the Mac. The process below is still applicable to iTunes on Windows. On the Mac, you can manually save an XML file by choosing File > Library > Export Library. But you can no longer do this automatically.

Note: Since iTunes 12.2, iTunes no longer creates the iTunes Library.xml file, which I mention below, by default. It’s a good idea to tell iTunes to do this, so you can recover your library from that file if necessary. To do this, go to iTunes > Preferences > Advanced, and check Share iTunes Library XML with other applications.

Every now and then, an iTunes Library has problems. You may have tracks or songs that disappear in the library, but that are still in your iTunes Media folder. Or playlists may change or disappear. Or there may be other, inexplicable problems.

One way to try and fix these issues is to rebuild your iTunes library. I’ve done this from time to time, and it can solve some issues, and has even fixed problems with Genius.

It’s a simple process, but one that may take a while if you have a lot of content in your library. Here’s how you do it.

  1. Back up your iTunes Media folder. While rebuilding the library doesn’t affect your media files, it’s best to be safe.

  2. Quit iTunes, then find your iTunes folder. If you’re on a Mac, it’ll be in the Music folder in your home folder (that’s the one with the house icon and your user name). On Windows, it can be in different locations according to the version of Windows you use:

  • Windows XP: \Documents and Settings\[your username]\My Documents\My Music\
  • Windows Vista: \Users\[your username]\Music\
  • Windows 7 or later: \Users\[your username]\My Music\

The two files you’ll be using are iTunes Library.itl (or, perhaps, just iTunes Library) and iTunes Library.xml.)

Itunes library files

  1. Make copies of all these files; again, just in case.
  2. Move the iTunes Library.xml or iTunes Music Library.xml file to your Desktop or to another folder. You’ll be using this file to rebuild the library.

  3. Delete the iTunes Library or iTunes Library.itl file by moving it to the Trash or Recycle Bin.

  4. Launch iTunes, and choose File > Library > Import Playlist. Navigate to the iTunes Library.xml file you moved earlier, and click Choose (Mac) or Open (Windows).

iTunes will now examine the XML file, finding all your tracks and playlists, and add them to your library. This will create a new iTunes Library.itl file. If you have a lot of content in your iTunes library, this will take a while. The last time I did it with a library of about 70,000 tracks, it took well over an hour, so be patient.

If for any reason it doesn’t, you can always quit iTunes, delete the newly-created iTunes Library.itl file, and replace it with the one you backed up.

One thing you’ll notice is that all the view settings you applied have changed. You’ll have to go back and reset them the way you want for each playlist. (Choose View > Show View Options to tweak these settings.) But the new library should contain all your media, and all your playlists. Also, the Date Added for all your iTunes content will be the date on which you rebuild the library.

287 thoughts on “How To Rebuild Your iTunes Library

  1. Hey Kirk, super timely article as the Genius Bar had to do a fresh reinstall of Yosemite on my Mac Mini media server – long story. So I’ll be doing just what you said above. A couple of question, though … I have a Time Machine backup of my Mac Mini but I don’t want to reinstall everything – just the iTunes files you mentioned above, because all of my tracks are on a separate hard drive

    Is there a way to get at those two files on the Time Machine .sparsebundle from a different Mac? I’d like to know I have them saved elsewhere before I begin. When I attempt to explore Time Machine from my other Mac, it only allows me to explore the sparsebundle for that Mac – not my Mac Mini sparsebundle.

    Thanks for any assistance you can offer & for posting this when you did.

  2. Hey Kirk, super timely article as the Genius Bar had to do a fresh reinstall of Yosemite on my Mac Mini media server – long story. So I’ll be doing just what you said above. A couple of question, though … I have a Time Machine backup of my Mac Mini but I don’t want to reinstall everything – just the iTunes files you mentioned above, because all of my tracks are on a separate hard drive

    Is there a way to get at those two files on the Time Machine .sparsebundle from a different Mac? I’d like to know I have them saved elsewhere before I begin. When I attempt to explore Time Machine from my other Mac, it only allows me to explore the sparsebundle for that Mac – not my Mac Mini sparsebundle.

    Thanks for any assistance you can offer & for posting this when you did.

  3. “Every now and then, an iTunes Library shows problems. You may have tracks or songs that disappear in the iTunes Media folder, but that are still in your library.”

    _This_ is the real problem. The discussion in https://discussions.apple.com/thread/1902641?start=555&tstart=0 shows that a lot of people are affected, that nobody has a clue, and that Apple does not even seem to take note. This is the real scandal: iTunes randomly deleting your files.

  4. “Every now and then, an iTunes Library shows problems. You may have tracks or songs that disappear in the iTunes Media folder, but that are still in your library.”

    _This_ is the real problem. The discussion in https://discussions.apple.com/thread/1902641?start=555&tstart=0 shows that a lot of people are affected, that nobody has a clue, and that Apple does not even seem to take note. This is the real scandal: iTunes randomly deleting your files.

  5. I cancelled the rebuild, having left it alone while I returned to the second half of my work day. When I got home again, a dialog was present informing me of what I already knew: The is insufficient space on my boot drive for all my media. Of course, that’s why I moved the iTunes Media folder to an external drive. The kicker: The dialog advised that it would copy as many of the files as possible to my boot drive. That’s why I cancelled the process. I Trashed the two files it had created and replaced them with the old files I had backed-up. All is well. Is there an alternate process to rebuild those files with the iTunes Media folder on an external drive? (Mac OS X 10.10.2) TIA! 🙂

    • If your media is on an external drive, what you have to do is, after you watch iTunes, go to the Advanced preferences, and select your iTunes Media folder. Import the XML file after doing that.

  6. I cancelled the rebuild, having left it alone while I returned to the second half of my work day. When I got home again, a dialog was present informing me of what I already knew: The is insufficient space on my boot drive for all my media. Of course, that’s why I moved the iTunes Media folder to an external drive. The kicker: The dialog advised that it would copy as many of the files as possible to my boot drive. That’s why I cancelled the process. I Trashed the two files it had created and replaced them with the old files I had backed-up. All is well. Is there an alternate process to rebuild those files with the iTunes Media folder on an external drive? (Mac OS X 10.10.2) TIA! 🙂

    • If your media is on an external drive, what you have to do is, after you watch iTunes, go to the Advanced preferences, and select your iTunes Media folder. Import the XML file after doing that.

  7. Hi Kirk, thanks for this article. I have a quick question: does rebuilding the iTunes library reset play counts and/or change which tracks are checked/ unchecked?

    • It retains play counts and last played dates, but changes the date added. As for checked tracks, I never looked at that. You can try it, keeping your old files, and if it doesn’t work, then quit iTunes and put the old files back.

      • Hmm … not too sure about “but changes the date added”. I just rebuilt my Library, after I read your helpful article, and thankfully the Date Added metadata remained the same. I use this field quite a bit for sorting.

        • Every time I’ve done it iTunes changes the Date Added to the date I rebuilt the library. If that didn’t happen to you, I’d be very curious to know what you did.

          • Well, I pretty much followed your instructions … or at least I thought I did, until I just now reread your instructions. And now I realize I did not completely follow your instructions.

            Here’s what I did instead:

            1. Because of my circumstances, I copied my critical files from my Time Machine Backup:

            iTunes Library.itl
            iTunes Music Library.xml
            iTunes Library Extras.itdb
            iTunes Library Genius.itdb

            2. Since my Mac Mini media server had to have a totally fresh install of Yosemite, I launched iTunes, and made sure iTunes was in a virgin state – no music, no nothing.

            3. I quit iTunes, went to the Music folder and dragged out the files above.

            4. (I think this is the critical difference between what you recommend and what ended up doing). I replaced each of the files above with the original files from my Time Machine backup.

            5. I made sure that the path name to my external USB music drive was ‘exactly’ the same – this is critical.

            6. I launched iTunes … and low and behold, everything was exactly how it had been prior to my Mac Mini’s operating system meltdown – including the precious Date Added metadata.

            I was one happy camper …

            In short, I did not do your item #6:

            “Launch iTunes, and choose File > Library > Import Playlist. Navigate to the iTunes Library.xml file you moved earlier, and click Choose (Mac) or Open (Windows)'”

            But simply replaced each of my critical iTunes files with my previous ones – making sure the path to my media was identical to what it had been prior to my system rebuild.

            Hope this helps.

  8. Hi Kirk, thanks for this article. I have a quick question: does rebuilding the iTunes library reset play counts and/or change which tracks are checked/ unchecked?

    • It retains play counts and last played dates, but changes the date added. As for checked tracks, I never looked at that. You can try it, keeping your old files, and if it doesn’t work, then quit iTunes and put the old files back.

      • Hmm … not too sure about “but changes the date added”. I just rebuilt my Library, after I read your helpful article, and thankfully the Date Added metadata remained the same. I use this field quite a bit for sorting.

        • Every time I’ve done it iTunes changes the Date Added to the date I rebuilt the library. If that didn’t happen to you, I’d be very curious to know what you did.

          • Well, I pretty much followed your instructions … or at least I thought I did, until I just now reread your instructions. And now I realize I did not completely follow your instructions.

            Here’s what I did instead:

            1. Because of my circumstances, I copied my critical files from my Time Machine Backup:

            iTunes Library.itl
            iTunes Music Library.xml
            iTunes Library Extras.itdb
            iTunes Library Genius.itdb

            2. Since my Mac Mini media server had to have a totally fresh install of Yosemite, I launched iTunes, and made sure iTunes was in a virgin state – no music, no nothing.

            3. I quit iTunes, went to the Music folder and dragged out the files above.

            4. (I think this is the critical difference between what you recommend and what ended up doing). I replaced each of the files above with the original files from my Time Machine backup.

            5. I made sure that the path name to my external USB music drive was ‘exactly’ the same – this is critical.

            6. I launched iTunes … and low and behold, everything was exactly how it had been prior to my Mac Mini’s operating system meltdown – including the precious Date Added metadata.

            I was one happy camper …

            In short, I did not do your item #6:

            “Launch iTunes, and choose File > Library > Import Playlist. Navigate to the iTunes Library.xml file you moved earlier, and click Choose (Mac) or Open (Windows)'”

            But simply replaced each of my critical iTunes files with my previous ones – making sure the path to my media was identical to what it had been prior to my system rebuild.

            Hope this helps.

  9. Right, that’s not the same. You simply restored the library from a backup, you didn’t rebuild it. Rebuilding is more a troubleshooting thing. And, you did the right thing for your specific problem.

      • As I explain in the article, rebuilding the library is for troubleshooting: when iTunes isn’t working correctly. In your case, you wanted to simply go back to an earlier snapshot of your library, and that’s what Time Machine backups are for.

    • Ok, that makes sense. Thanks. And thanks also for the article which got me setup to rebuild my iTunes media library – it’s scary seeing 10,000 tracks disappear!

  10. Right, that’s not the same. You simply restored the library from a backup, you didn’t rebuild it. Rebuilding is more a troubleshooting thing. And, you did the right thing for your specific problem.

      • As I explain in the article, rebuilding the library is for troubleshooting: when iTunes isn’t working correctly. In your case, you wanted to simply go back to an earlier snapshot of your library, and that’s what Time Machine backups are for.

    • Ok, that makes sense. Thanks. And thanks also for the article which got me setup to rebuild my iTunes media library – it’s scary seeing 10,000 tracks disappear!

  11. I got a new drive, so I have to reinstall it. I’ve been using this method for a while, but when doing these steps using iTunes 12, I find my Podcasts are get moved to Music.

  12. I got a new drive, so I have to reinstall it. I’ve been using this method for a while, but when doing these steps using iTunes 12, I find my Podcasts are get moved to Music.

  13. Well described. I somehow crashed my itl-file and had to rebuild with the xml. Worked fine, but I really like to have my “date added” like before. I have lots of playlists based on that date. Isn’t there an option to tell itunes to use the xml data or edit the itl file or anything else.

  14. Well described. I somehow crashed my itl-file and had to rebuild with the xml. Worked fine, but I really like to have my “date added” like before. I have lots of playlists based on that date. Isn’t there an option to tell itunes to use the xml data or edit the itl file or anything else.

  15. Thank you so much! I could not get my iTunes Match to sync. I kept getting a 4010 error regarding Genius. After weeks of sifting through different community postings, I found yours today. It was the only one that worked!

  16. Thank you so much! I could not get my iTunes Match to sync. I kept getting a 4010 error regarding Genius. After weeks of sifting through different community postings, I found yours today. It was the only one that worked!

  17. “4. Move the iTunes Library.xml *or* iTunes Music Library.xml file…” I have BOTH of these files. So which one do I move? (The “Music” one is not mentioned anywhere else.)

  18. “4. Move the iTunes Library.xml *or* iTunes Music Library.xml file…” I have BOTH of these files. So which one do I move? (The “Music” one is not mentioned anywhere else.)

  19. My itunes folder is over 100 gigs. I want to rebuild the library. I have itunes match. Can I remove all the files (how?) then rebuild my library and then re-download all the music files? Thanks!

  20. My itunes folder is over 100 gigs. I want to rebuild the library. I have itunes match. Can I remove all the files (how?) then rebuild my library and then re-download all the music files? Thanks!

  21. Hi, I’m also curious to know if doing this will impact iTunes Match and involve needing to re-upload all my (unmatched) tracks – 15,000 and counting!

    I’d be grateful if you could let us know.

    • I don’t think it should be a problem. iTunes should be able to spot that the tracks in your library match what’s been uploaded. But, hey, with iTunes, you never know… 🙂

  22. Hi, I’m also curious to know if doing this will impact iTunes Match and involve needing to re-upload all my (unmatched) tracks – 15,000 and counting!

    I’d be grateful if you could let us know.

    • I don’t think it should be a problem. iTunes should be able to spot that the tracks in your library match what’s been uploaded. But, hey, with iTunes, you never know… 🙂

  23. Thank you, Kirk! This helped enormously. For years I’ve had a problem free library that’s very large (22k items and counting). Since, they launched Apple Music, I have had big problems, resulting in a corrupt library. This was the fix after visiting many other threads. Thanks again.

  24. Thank you, Kirk! This helped enormously. For years I’ve had a problem free library that’s very large (22k items and counting). Since, they launched Apple Music, I have had big problems, resulting in a corrupt library. This was the fix after visiting many other threads. Thanks again.

  25. I followed the instructions (I think) and when I added the XML file back into iTunes, it added all my iPhone apps, books and movies and listed a lot of the tracks as separate albums. Not sure what I did wrong or how to correct this. The apps section of iTunes is empty. I can re-download them via the App store but still. What a mess. Any ideas?

    Thanks.

  26. I followed the instructions (I think) and when I added the XML file back into iTunes, it added all my iPhone apps, books and movies and listed a lot of the tracks as separate albums. Not sure what I did wrong or how to correct this. The apps section of iTunes is empty. I can re-download them via the App store but still. What a mess. Any ideas?

    Thanks.

  27. Thanks for the article. After I complete this process, should I restore the XML file to its original location?

  28. Thanks for the article. After I complete this process, should I restore the XML file to its original location?

  29. Kirk, I tried this and it duplicated all my playlist and looks like all my songs. I did notice that iCloud was “running” in the background. Any ideas before I give it another whirl?

    • If you have iCloud Music Library active, then that will add everything to your library that’s in the cloud. I’m not sure that rebuilding a library with iCloud Music Library is a good idea. You’d need to delete everything from the library (after making a backup, of course), update iCloud Music Library, then rebuild the library.

  30. Kirk, I tried this and it duplicated all my playlist and looks like all my songs. I did notice that iCloud was “running” in the background. Any ideas before I give it another whirl?

    • If you have iCloud Music Library active, then that will add everything to your library that’s in the cloud. I’m not sure that rebuilding a library with iCloud Music Library is a good idea. You’d need to delete everything from the library (after making a backup, of course), update iCloud Music Library, then rebuild the library.

  31. I tried this as well and all has worked except it rebuilds information only for the albums I have purchased via itunes and not the albums that I’ve ripped. Anyone know what went wrong?

  32. I tried this as well and all has worked except it rebuilds information only for the albums I have purchased via itunes and not the albums that I’ve ripped. Anyone know what went wrong?

  33. Thanks for this helpful, informative post! Took me a second to find the Import Playlist option as the menu bar is hidden by default (at least in 12.3.2). Worked like a charm. I also moved my music library at the same time, so ran a find/replace on the xml file to clarify locations. Really appreciated your post — took a lot of the guesswork out of it for me.

  34. Thanks for this helpful, informative post! Took me a second to find the Import Playlist option as the menu bar is hidden by default (at least in 12.3.2). Worked like a charm. I also moved my music library at the same time, so ran a find/replace on the xml file to clarify locations. Really appreciated your post — took a lot of the guesswork out of it for me.

  35. Hey Kirk, I was hoping that rebuilding would help me. It did not. Do know if iTunes has a limit on video files? I have (on an external Drobo) 16.2 TB of music, movies and TV shows. That is 35,326 songs in music, 2,390 Movies and 19,568 in TV shows. I have been trying to add TV shows but a couple enter in (or appear to) and then iTunes locks up and locks up the Drobo. I need to shut down the Drobo an then restart it and then restart iTunes. I have re-installed iTunes and then re built it as you proposed but nothing works! Any ideas? Or is it just too much for iTunes??

    • I don’t think iTunes has a problem with that number of items. It’s not the size that iTunes cares about, so that’s not the issue. However, it could be either your network or the Drobo itself that’s choking.

      • Dear Kirk, Thought it might be my Drobo so I loaded 3TB outside the iTunes folder and was able to use and access it fine and iTunes worked that same way. The Drobo is connected via firewire 800 so I don’t understand how the network would do anything? Any other ideas?

        • Sorry, most people who have a Drobo or similar device access it over a network. FireWire 800 is pretty slow, still. I’d look for the problem being with the Drobo; have you tried Drobo forums or support?

  36. Hey Kirk, I was hoping that rebuilding would help me. It did not. Do know if iTunes has a limit on video files? I have (on an external Drobo) 16.2 TB of music, movies and TV shows. That is 35,326 songs in music, 2,390 Movies and 19,568 in TV shows. I have been trying to add TV shows but a couple enter in (or appear to) and then iTunes locks up and locks up the Drobo. I need to shut down the Drobo an then restart it and then restart iTunes. I have re-installed iTunes and then re built it as you proposed but nothing works! Any ideas? Or is it just too much for iTunes??

    • I don’t think iTunes has a problem with that number of items. It’s not the size that iTunes cares about, so that’s not the issue. However, it could be either your network or the Drobo itself that’s choking.

      • Dear Kirk, Thought it might be my Drobo so I loaded 3TB outside the iTunes folder and was able to use and access it fine and iTunes worked that same way. The Drobo is connected via firewire 800 so I don’t understand how the network would do anything? Any other ideas?

        • Sorry, most people who have a Drobo or similar device access it over a network. FireWire 800 is pretty slow, still. I’d look for the problem being with the Drobo; have you tried Drobo forums or support?

  37. Kirk, I did the rebuild and it solved the problem of getting an endless “preparing to copy” msg whenever I tried to consolidate my iTunes to my library in an external drive (connected via USB 3). So that is good and thanks. However, a number of my saved podcasts have been moved to the Music section, and in the Podcast section there many many extra listings for the same podcast show on the left column – for example there are around 7 for the Best Soccer Show, 6 for On The Media and 40 (!!!) for TEDtalks where there had been only one each before i did the rebuild. And I can’t delete these “phantom” podcast listings, which seem to contain one episode each, although I can’t listen to them or trash them. what can I do? Im on a 2012 Macbook Pro Retina running El Capitan.

    • Well, you can change them back to podcasts. Select them, press Command-I, then on the Options tab, change the Media Kind to Podcast. That should fix things, though the feeds themselves might still be messed up.

      • Thanks, Kirk. Well, while not solving the problem, that does make things clearer. Apparently all the podcasts that got switched to Music were the ones that came from the empty phantom duplicate feeds. Choosing “podcast” media type as you suggested looks like it puts them back under those feeds. But I still have many many duplicate feeds instead of all the episodes from the same podcast under a single listing. And here is the crux – when the iTunes rebuild moved all these podcast files to music, it also left the emptied out feed subscriptions LOCKED on “off.” Apparently I can’t delete these feeds (or turn them on) when locked. Ive been scouring the internet but can’t find way to get rid of the little padlock icon. Others have reported this issue as well. Any suggestions?

        • I’ve never encountered this, nor heard of it. If you can, post a question in my forum (there’s a link in the sidebar at the left) with screenshots, showing exactly how the podcast feeds display. Maybe someone will have an idea.

  38. Kirk, I did the rebuild and it solved the problem of getting an endless “preparing to copy” msg whenever I tried to consolidate my iTunes to my library in an external drive (connected via USB 3). So that is good and thanks. However, a number of my saved podcasts have been moved to the Music section, and in the Podcast section there many many extra listings for the same podcast show on the left column – for example there are around 7 for the Best Soccer Show, 6 for On The Media and 40 (!!!) for TEDtalks where there had been only one each before i did the rebuild. And I can’t delete these “phantom” podcast listings, which seem to contain one episode each, although I can’t listen to them or trash them. what can I do? Im on a 2012 Macbook Pro Retina running El Capitan.

    • Well, you can change them back to podcasts. Select them, press Command-I, then on the Options tab, change the Media Kind to Podcast. That should fix things, though the feeds themselves might still be messed up.

      • Thanks, Kirk. Well, while not solving the problem, that does make things clearer. Apparently all the podcasts that got switched to Music were the ones that came from the empty phantom duplicate feeds. Choosing “podcast” media type as you suggested looks like it puts them back under those feeds. But I still have many many duplicate feeds instead of all the episodes from the same podcast under a single listing. And here is the crux – when the iTunes rebuild moved all these podcast files to music, it also left the emptied out feed subscriptions LOCKED on “off.” Apparently I can’t delete these feeds (or turn them on) when locked. Ive been scouring the internet but can’t find way to get rid of the little padlock icon. Others have reported this issue as well. Any suggestions?

        • I’ve never encountered this, nor heard of it. If you can, post a question in my forum (there’s a link in the sidebar at the left) with screenshots, showing exactly how the podcast feeds display. Maybe someone will have an idea.

  39. To be clearer, when I say “listing” I guess the actual term is podcast “feed.” I did find that I can delete the phantom episodes contained in each of these feeds by scrolling over and getting the little circle with three dots, but then it says “There are no episodes in this podcast feed” while the feed listing itself remains. Clicking “delete” on the three dots on the feed itself does nothing.

  40. To be clearer, when I say “listing” I guess the actual term is podcast “feed.” I did find that I can delete the phantom episodes contained in each of these feeds by scrolling over and getting the little circle with three dots, but then it says “There are no episodes in this podcast feed” while the feed listing itself remains. Clicking “delete” on the three dots on the feed itself does nothing.

  41. Kirk – Have you checked to see if rebuilding the library helps address the iCloud Music Library issues with metadata corruption. If removing all the cruft from an old library improves the iCML experience?

  42. Kirk – Have you checked to see if rebuilding the library helps address the iCloud Music Library issues with metadata corruption. If removing all the cruft from an old library improves the iCML experience?

  43. I moved my library to a new external drive. I made a clone of the original iTunes music we had on one external drive to another using Carbon Copy Cloner. I turned on iTunes and pointed it to the new drive. It updated the library and then it organized all of the files.
    When I tried to consolidate the files the first time it said preparing copy for over 35 hours before I hit stop.
    All of the songs have exclamation points. I tried the above suggestions and it starts iTunes as if it was brand new and there are no songs showing at all. I click on library add playlist click on the Library XML folder on the desktop and I get Error -50.
    Any suggestion on how to make iTunes see all the songs on the new drive? There are about 400K songs and 4TB worth of music. Having to tell iTunes where to find each and every song is not doable.
    Thanks!

    • It broke because you didn’t let it consolidate. So you need to start over. I assume you have a backup, right??? If it says that it’s going to take 35 hours, that’s just an early estimate; for 400K tracks it might take a few hours, but not as long as that. (I seem to recall the last time I did it on my 70K-track library it was at least 30-45 minutes).

      • It did not give us an estimate of how long it was going to take to consolidate. After 35 hours of preparing copy we hit stop.
        We have back-ups of everything and will try again this morning.

        • Oh, the way you said it, I understood that it gave an estimate of over 35 hours. That is a long time; however, it may take a long time for that many files.

  44. I moved my library to a new external drive. I made a clone of the original iTunes music we had on one external drive to another using Carbon Copy Cloner. I turned on iTunes and pointed it to the new drive. It updated the library and then it organized all of the files.
    When I tried to consolidate the files the first time it said preparing copy for over 35 hours before I hit stop.
    All of the songs have exclamation points. I tried the above suggestions and it starts iTunes as if it was brand new and there are no songs showing at all. I click on library add playlist click on the Library XML folder on the desktop and I get Error -50.
    Any suggestion on how to make iTunes see all the songs on the new drive? There are about 400K songs and 4TB worth of music. Having to tell iTunes where to find each and every song is not doable.
    Thanks!

    • It broke because you didn’t let it consolidate. So you need to start over. I assume you have a backup, right??? If it says that it’s going to take 35 hours, that’s just an early estimate; for 400K tracks it might take a few hours, but not as long as that. (I seem to recall the last time I did it on my 70K-track library it was at least 30-45 minutes).

      • It did not give us an estimate of how long it was going to take to consolidate. After 35 hours of preparing copy we hit stop.
        We have back-ups of everything and will try again this morning.

        • Oh, the way you said it, I understood that it gave an estimate of over 35 hours. That is a long time; however, it may take a long time for that many files.

  45. The reason I need to rebuild my library is because iTunes keeps cutting off the ends of newly imported songs (I have confirmed the songs are fine, it is iTunes that is the issue since they play fine in iOS). My biggest worry is that after the rebuild I will lose all of my metadata (stars, play count etc) I have been building this metadata for over 10+ years and I don’t want to lose it. Can anyone confirm that with this rebuild I won’t lose that metadata?

    • You won’t lose anything. But it’s not a library issue that’s cutting off tracks. Does this happen to all newly imported tracks?

      • Thanks Kirk, no it doesn’t. I have a couple of albums I got from another download services and they are 320 mp3 and with like 3 of the albums almost all of the songs get cut off with about 60 sec left. I can actually see the playhead skip to the end and then it ends abruptly. What is interesting is that if I skip to halfway through the song the song ends like it should in iTunes, so it seems to only happen when they are played from the beginning.

        I checked the songs in QT and they play fine from beginning to end.

        They also play without issue on my iPhone.

        I have read that this is a random problem that can happen, and everything I have read says to do a rebuild and it should fix the issue. But if you have another suggestion I am all ears. This happened to me last year with an album and the only fix I had was to just buy the same album again in iTunes which was frustrating.

        Also for the record I have deleted, and imported from the file menu instead of dragging and dropping on the iTunes icon and it doesn’t fix anything. Also the start and stop times in options are not checked.

  46. The reason I need to rebuild my library is because iTunes keeps cutting off the ends of newly imported songs (I have confirmed the songs are fine, it is iTunes that is the issue since they play fine in iOS). My biggest worry is that after the rebuild I will lose all of my metadata (stars, play count etc) I have been building this metadata for over 10+ years and I don’t want to lose it. Can anyone confirm that with this rebuild I won’t lose that metadata?

    • You won’t lose anything. But it’s not a library issue that’s cutting off tracks. Does this happen to all newly imported tracks?

      • Thanks Kirk, no it doesn’t. I have a couple of albums I got from another download services and they are 320 mp3 and with like 3 of the albums almost all of the songs get cut off with about 60 sec left. I can actually see the playhead skip to the end and then it ends abruptly. What is interesting is that if I skip to halfway through the song the song ends like it should in iTunes, so it seems to only happen when they are played from the beginning.

        I checked the songs in QT and they play fine from beginning to end.

        They also play without issue on my iPhone.

        I have read that this is a random problem that can happen, and everything I have read says to do a rebuild and it should fix the issue. But if you have another suggestion I am all ears. This happened to me last year with an album and the only fix I had was to just buy the same album again in iTunes which was frustrating.

        Also for the record I have deleted, and imported from the file menu instead of dragging and dropping on the iTunes icon and it doesn’t fix anything. Also the start and stop times in options are not checked.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.