Missing files on iTunes

Whilst moving the location of some music files that are held on my PC and accessed for use by iTunes, a message in a small iTunes window told me that I have 319 'missing files'. That's all the information it told me about these files. It must know which files they are but it hasn't told me. How can I find out so that I can do something about it?

Windows, Windows 10

Posted on Nov 10, 2023 12:10 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 19, 2023 10:18 AM

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, or that you've been too aggressive when deleting duplicates. See Getting iTunes & Windows Media Player to play nicely if you're trying to access your media with any other media players.


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 in Windows) is normal for a file that isn't quite where iTunes is expecting to find it.


tt2

8 replies
Question marked as Top-ranking reply

Nov 19, 2023 10:18 AM in response to andyfrombury st edmunds

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, or that you've been too aggressive when deleting duplicates. See Getting iTunes & Windows Media Player to play nicely if you're trying to access your media with any other media players.


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 in Windows) is normal for a file that isn't quite where iTunes is expecting to find it.


tt2

Nov 11, 2023 1:46 AM in response to andyfrombury st edmunds

andyfrombury st edmunds wrote:

I have moved many files, both within File Explorer and then within iTunes

What do you mean by moving files within iTunes? You cannot move a file from inside iTunes. You can of course, move songs inside iTunes, but what that typically means is moving them in or out of Playlists.


Note the difference between a file and a song:

    • a file is the computer file seen in Windows Explorer. That file may be a song, a document, or picture etc.
    • a song is entry listed in iTunes. When you ask iTunes to play a song, iTunes looks for the file (for that song) and reads it to you as audio


If you move a file (belonging to a song) once you have told iTunes where the file for it is located, then iTunes will still list the song, but it will not be ab le to find the file for it because you have moved it. That's how it knows that 319 songs are missing.


Songs are not "in iTunes". Instead, iTunes is a database that lists the songs and it knows where the file is located for each song. If you move a file, then it no longer knows where the file is. Hence your current dilemma.

Nov 12, 2023 2:40 PM in response to andyfrombury st edmunds

As you may have noticed, after finding one song, iTunes asks if you would like to use that folder to locate all the remaining missing songs. But since you're looking in the folder for one album, iTunes will only find the rest of that album, not everything that's missing.


But at least you're making progress.


Semantics aside, I was trying to emphasise that you cannot randomly move the files (that are the source of the music that you hear) after adding them to iTunes without causing the exact issue that you currently have: 300 missing songs.


Nov 10, 2023 2:43 PM in response to javaliga

Thank you for replying.


I have moved many files, both within File Explorer and then within iTunes when it says it can't find a song I'm asking it to play. But that's when I get the message saying that there are (in this case) 319 more missing files. My point is that I seem to have no way of finding out which files these are or where they are so I can do something about it, because there's no link from '319' to a list of files. If it doesn't know which ones they are, how does it know that there are 319 of them?!

Nov 11, 2023 9:39 AM in response to the fiend

Thank you for your reply.


A lot of what you and I have written is down to semantics. I understand the relationship between files and 'songs' and have been moving files on my PC so that they are all on my external hard disk in an 'iTunes Media folder'. There are clearly some mis-matches as represented by these 'missing files'. It seems to me that the only way I'm going to track them is by coming upon the message that iTunes can't find the file accompanied by an exclamation mark in a circle. This is only going to happen by chance as I've got in excess of 12k 'songs' to look through!


Happily this has already happened: by chance I have located two 'missing' albums and have located the files and copied them into the iTunes Media folder. As a result I'm now down to less than 300 missing 'songs'. See screenshots below.




Nov 20, 2023 5:04 AM in response to turingtest2

Thank you for your reply. It'll take me a little while to digest the full content but as a quick response I notice in 1) above you're referring to the media folder. Well, my media folder is on my external hard drive at J:\Music for IPOD\iTunes\iTunes Media When I go to Edit>Preferences>Advanced I see that it's set to the C: drive at C:\Users\Andy\Music\iTunes\iTunes Media. I have changed it to the J: pathway several times but each time (like just now) when I go back to look at it again it shows that it has gone back to the C: location. How come?


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.

Missing files on iTunes

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