How to populate iTunes from My Music file

I got a new PC, and my iTunes library shows all of the song names, but all of the songs are missing. When I use "locate" none of the songs can be found...but all of them are in <My Music> files. How do I re-populate iTunes?

iPod nano (5th generation), Windows XP

Posted on Sep 14, 2016 8:38 AM

Reply
10 replies

Sep 15, 2016 6:34 AM in response to bobby24j

Hey bobby24j,

If I understand correctly, it looks like iTunes is not linking the songs listed in iTunes with the music files. This may be caused by trouble with .itl file. I would recommend you read this article, it will restore your iTunes library and may help the issue.

If you don't see your entire library after you update iTunes on your Mac or PC - Apple Support
Thank you for using Apple Support Communities. Have a good one.

Sep 15, 2016 11:30 AM in response to bobby24j

The "missing file" issue with exclamation marks happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter, or you've moved a non-portable library to a different path (see Make a split library portable for details). It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.


Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. Look on the file tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Windows.


In some cases iTunes may be able to repair itself if you go through the same steps with Get Info, or when playing a track, but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If another application like Windows Media Player has moved/renamed the files, or the library has been moved from OS X to Windows, then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works. It might need some tweaking if your media is in a non-standard layout.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under Edit > Preferences > Advanced
  2. The location of a sample missing track shown under Get Info > File > Location that begins file://localhost/
  3. The true path to the file whose details you gave in 2


Note the addition of file://localhost/ and the flipped direction of slashes (Windows only) is normal for a file that isn't quite where iTunes is expecting to find it.


tt2

Sep 23, 2016 9:44 AM in response to turingtest2

more progress. i changed the name of the media folder location and it found most, but not all, of my music. perhaps i shouldn't have done that


- media folder location: c users username music iTunes

- location of sample missing track: localhost / c / users / username / music / iTunes / iTunes media / artist / album / song

- true path: here's the confusion. when doing a file explorer search, it says the song is in these locations (I can open each of the following with another media program and play the song):

...music artist album song AND

...music iTunes artist album song AND

...music iTunes subfolder artist album song


also, as of yet, iTunes doesn't display playlists, etc.

Sep 23, 2016 10:43 AM in response to topicguy

The correct path to the media folder should be C:\Users\<User>\Music\iTunes\iTunes Media

The active library file should be C:\Users\<User>\Music\iTunes\iTunes Library.itl

Artist folders should be inside C:\Users\<User>\Music\iTunes\iTunes Media\Music

So a typical track is at C:\Users\<User>\Music\iTunes\iTunes Media\Music\<Artist>\<Album>\## <Name>.<Ext>


Other media types such as Podcasts get their own subfolders within iTunes Media.


You can enable the playlists sidebar with Ctrl+S.


tt2

Sep 23, 2016 1:08 PM in response to topicguy

Take a look at the sizes of the various library files again. Make sure the one that you want ends up in C:\Users\<User>\Music\iTunes , is called iTunes Library.itl (pay attention to whether or not the extension displays for you and don't add it if it doesn't) and then shift-start-iTunes to make sure that you're connecting to the correct file.


Do you still have the old computer if you need to redo the transfer? Or a device you could recover playlists from?


tt2

Sep 23, 2016 1:39 PM in response to turingtest2

thanks. the Library in the correct iTunes folder is the largest Library file I have. there are a couple of other Library files i have that are of equal size, but smaller than the one in the iTunes folder. i've shift-started iTunes, found the largest Library file (in the correct folder) with the same result.


the Library files on an external drive, to which i'd backed up the music files before swapping in a new internal HD, are smaller library files as well.


i do have an iPod with all the music & playlists on it - an older unit (model #A1238).

Sep 24, 2016 6:31 AM in response to turingtest2

thanks again. i've fixed all the broken links that i could, but remain with 3 albums and a few songs that i cannot seem to find anywhere on the laptop. should i simply delete those songs from iTunes before attempting to recover from my iPod? or would the iPod potentially be able to restore that music?


thanks again for all your help. i'll try the iPod restore in a day or two.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to populate iTunes from My Music file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.