You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

Fixing "Missing" Apple Music Files

For years my wife has been using Bootcamp on an Intel Mac to use both Apple and Windows. Her iTunes account was on the Windows side. Recently, for a variety of reasons, she finally decided to migrate all of her media to the Apple side on her M1 MacbookPro.


Upon transferring the iTunes Library and media we were greeted by over 2,500 missing songs (out of just over 10,000). Some of the song files genuinely did not transfer and needed to be recovered from a backup drive or redownloaded from Apple Music. But the vast majority are in the Music Library folder.


I'm attaching a series of screenshots that show the steps I have to take to fix each song:

In this picture we have just one album. You can see that there is no rhyme or reason for which songs imported fine and which are broken.

As seen here, the file is exactly where it should be named exactly as it should be.

Unfortunately, this part is also not working. Despite the song, and all the others on the album, being where they should be, Apple Music seems completely unable to find them. As you can see, I've manually done this for 500 songs so far. But those have been the low hanging fruit. On top of this, I know I have accidently selected the wrong song on several occasions.


So to the actual question.

  1. Does anybody know what happened during the importing of her iTunes Library to cause this?
  2. Is there a quick fix? When I called Apple TechSupport they told me to just delete the library and start anew. While this did work in an alternate library, the loss of the metadata (Play Count, Date Added, etc.) is an unacceptable price.
  3. If there is no quick fix, is there any way to do this any faster than one song at a time? As in, is there a way to fix the Apple Music "Find Files?"


Finally, since I'm only Level 1, I'm hoping someone could pass along a request to the host to change my username. I made this account twenty years ago and now I would very much like to separate my name from internet accounts. Thank you for all your help.

Posted on Nov 16, 2024 12:31 PM

Reply
3 replies

Nov 16, 2024 12:49 PM in response to GreyWolfActual

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. The script can be updated if needed to improve its prediction of where your broken tracks are.




I've also alerted the hosts to your other request.



tt2

Nov 16, 2024 1:33 PM in response to turingtest2

Hello,


Thank you for the prompt reply. Based on what you said I do think the issue may stem from the iTunes to Apple Music conversion. Her Windows iTunes was a fairly old.


In response to your questions:

  1. Users/mary/Music/Music/Media.localized/Compilations/Now That's What I Call Disney Princess/10 Medley_ Main Title _ Once Upon a.m4a
  2. Users/mary/Music/Music/Media.localized/Music/Compilations/Now That's What I Call Disney Princess/10 Medley_ Main Title _ Once Upon a Dream _ Prologue (From _Sleeping Beauty_).m4a


I do note the discrepancy in those locations but the file paths are the exact same for the songs in that album which never were broken and worked right from the start. The "Find Location" has not worked for any subsequent songs after I manually find a location.


And thank you as well for passing along my other request to the hosts.

Nov 16, 2024 1:48 PM in response to GreyWolfActual

I can see the discrepancy here is caused by presence of the extra /Music in item 3 when compared to item 2. See Managing your Mac media libraries - Apple Community and the section on iTunes Media Organization. Changing the integer value from 0 to 1 may help Music locate the files it currently doesn't find, hopefully without breaking the connection to the files that it can already play correctly. If that doesn't work then look at my FixLinks script that I linked to previously.


tt2

Fixing "Missing" Apple Music Files

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