itunes always ask me to locate the song which is already in the library

The prompt of "The song “xxxx” could not be used because the original file could not be found. Would you like to locate it?" sometimes appear when I play a song. I have to locate it again even the file is already in the itunes library. Sometimes this happens even I just finished playing the same song, it will ask me to locate it.


The song files are stored inside the itunes library folder, which is located on my computer locally.


Would you guys please help me?

Thanks!

MacBook Pro 13″, macOS 10.15

Posted on Aug 16, 2023 07:29 PM

Reply

Similar questions

2 replies

Aug 17, 2023 02:37 PM in response to hanes128

Hi hanes128,


The support article If songs are missing from your music library after you turn on Sync Library outlines relevant information regarding an iTunes library. Specifically these portions may be useful in addressing this concern:


"An exclamation point

The song can't be played or synced across your devices until the original file is located. Click the exclamation point Invalid location icon, then click Locate.

If the song is located, you'll be asked to use the location to find other missing songs in your library. If you see this message, click Find Files."


and


"Search for the missing song on your computer

  1. Search your Mac or PC for the missing song.
  2. If you find the missing song, drag the song to the Apple Music app or iTunes.
  3. In the Apple Music app or iTunes, choose File > Library > Update Cloud Library."


If you complete those actions and the behavior continues, it may be necessary to ensure that iTunes is using the correct library and location for your media. If that should be the case then Use multiple iTunes libraries on PC or Change where your music files are stored on Mac might apply.


Regards.



Aug 18, 2023 09:46 AM in response to hanes128

The "missing file" issue with exclamation marks happens if the file is no longer where iTunes or Music 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, the drive it lives on has had a name change, 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 or Music have 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, (see the iTunes Media Organization section of Managing your Mac media libraries - Apple Community for details) or that you've been too aggressive when deleting duplicates at some point.


Select a track with an exclamation mark, use Cmd-I to get Song Info, then click No when asked to try to locate the track. Look on the file tab for the location the library thinks the file should be. Now take a look around your hard drives. Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive label 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 Mac - Apple Community.


In some cases the library 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 you want me to try to provide specific advice please post back the following details:

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



See also FixLinks - an AppleScript to repair broken links in Music - Apple Community.



tt2

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.

itunes always ask me to locate the song which is already in the library

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