Locate multiple missing songs - Music - Monterey

I have many songs which Music cannot locate - I am not sure why, as they are all in Music/iTunes/iTunes Media/Music along with the files that Music CAN locate. When I manually locate a song, Music asks whether it should look there for other missing songs. When I reply 'yes', it fails to find anything.

Posted on Dec 1, 2022 12:12 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 1, 2022 03:13 AM

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, 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

Similar questions

5 replies
Question marked as Top-ranking reply

Dec 1, 2022 03:13 AM in response to oldnic

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, 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

Dec 1, 2022 04:39 AM in response to turingtest2

Thanks for this detailed reply - I checked cmd-i and it is indeed looking for a location that no longer exists ie an external drive - the new location in on the HD -

Regarding the details you requested:

1. not seeing anything here

2. file:///Volumes/NIC T DRIVE/Music/CURRENT STUFF MOVED FROM MAC SEP 2016/Albums/Sgt. Pepper's Lonely Hearts Club Band (1978 Film)/CD 1 05 - I Want You (She's So Heavy).mp3

3. /Users/nic/Music/iTunes/iTunes Media/Music/Sgt. Pepper's Lonely Hearts Club Band (1978 Film)


When I ask it to locate other missing files in the same location it says it can't find anything. I assume it should at least find the rest of the songs on that specific folder ie the rest of the album.

Dec 2, 2022 06:31 AM in response to oldnic

Yes, although this path is atypical:


/Users/nic/Music/iTunes/iTunes Media/Music/Sgt. Pepper's Lonely Hearts Club Band (1978 Film)


I would normally expect to see one of these:


/Users/nic/Music/iTunes/iTunes Media/Music/The Beatles/Sgt. Pepper's Lonely Hearts Club Band (1978 Film)

/Users/nic/Music/iTunes/iTunes Media/Music/Compilations/Sgt. Pepper's Lonely Hearts Club Band (1978 Film)


So perhaps you weren't letting iTunes manage the organization of the media folder in the usual way. It may be easiest to reconstruct the old volume name and path such that the particular file in question ends up at:


/Volumes/NIC T DRIVE/Music/CURRENT STUFF MOVED FROM MAC SEP 2016/Albums/Sgt. Pepper's Lonely Hearts Club Band (1978 Film)/CD 1 05 - I Want You (She's So Heavy).mp3


Once Music is able to connect to the tracks again you could delete what you've already copied to your internal drive, then reset the media folder to the more usual path in Monterey which is ~/Music/Music/Media (~ being your home folder) and consolidate the library to the new path. (File > Library > Organize Library > Consolidate Files) and then finally copy the whole ~/Music/Music folder back out to the external drive as a backup.


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.

Locate multiple missing songs - Music - Monterey

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