Exclamation mark after immediately uploading somgs

Something is driving me crazy.


Every time I import music, I seem to get an exclamation mark next to the song saying it could not be located. The exclamation mark doesn't appear unless I edit or press play, and I wont know which song is missing unless I edit or press play. What makes it annoying is that the missing songs are at random. Sometimes it's one and sometimes it can be as many as 90% of the album. The only way to fix is to locate, and it's the same folder I imported from. I've tried selecting the organizing library method and doesn't work. 


Any ideas why the exclamation mark appears after just uploading?


Thanks!

Mac mini (M1, 2020)

Posted on Jan 21, 2024 10:07 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 22, 2024 5:36 AM

I assume you're not importing from a connected external drive, which you then remove, without having the "Copy files to media folder when adding to the library option" selected. An outside possibility is that Music cannot correctly access the location it wants to use, so is putting files somewhere else, but not recording the correct location in the database. See Repair security permissions for iTunes/Music for Mac - Apple Community.




Read on for my boilerplate post for exclamation marks...


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 Music > Settings > Files
  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

4 replies
Question marked as Top-ranking reply

Jan 22, 2024 5:36 AM in response to rtty

I assume you're not importing from a connected external drive, which you then remove, without having the "Copy files to media folder when adding to the library option" selected. An outside possibility is that Music cannot correctly access the location it wants to use, so is putting files somewhere else, but not recording the correct location in the database. See Repair security permissions for iTunes/Music for Mac - Apple Community.




Read on for my boilerplate post for exclamation marks...


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 Music > Settings > Files
  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

Jan 22, 2024 11:32 PM in response to turingtest2

UPDATE:


I restarted the whole process of removing and re-uploading my music except this time I unchecked "Copy files to music media folder" and I didn't get any exclamation marks in the entire library...I guess now I need help in trying to correct the Media folder situation because I like to update my albums with artwork/tags etc that way if I have to restart the whole process, I can back up the media folder and re-upload.


Thanks!

Jan 23, 2024 12:12 PM in response to rtty

See my Managing your Mac media libraries - Apple Community user tip. Ideally you'd set your library up in the default layout of a Music folder that contains a Media folder (or Media.localized that appears as Media or the local equivalent in different languages). You would then backup the whole Music folder such that your backup contains all of the media, and the database that is the core of the library. When everything is in this layout it should be easy to copy it to a new drive or computer and option-start-Music to connect to it.


tt2

Jan 22, 2024 3:50 PM in response to turingtest2

Thanks for responding.


I first tried to run your FindFiles script and was unable to. When I highlighted songs and double-clicked the script, it said there is no application set to open it so I could either search App Store or choose an application


With the hope that I may start fresh, I backed up all the music to just one specific folder, cleaned out iTunes and deleted the media folder/songs…all of it and restarted my computer. Uploaded the music from that one new folder to the blank iTunes/Apple Music and fear I made things worse. There are now multiple exclamation marks. I don’t get the option popping up of locating other missing songs, so it looks like I would have to do it one by one. What is interesting is that it is showing up as missing, but when I search for the missing song in the Media folder, it is there.


Answers to your requests:


  1. /Macintosh HD/Users/ABC/Music/Music/Media

This is the default media folder that shows when I click on Preferences/Files


2. /Users/ABC/Music/Music/Media.localized/Prince/PMA 001 - Demos and Outtakes Vol. 1/04. Old Friends 4 Sale (PMA RemastЯ).m4a

Maybe I didn’t understand this part, but I am unable to find the location of the sample missing track since on iTunes/Apple Music there is no location when I right-click/Get Info/File on the missing song. So I have provided the path of another song in the same album that doesn’t show up as missing, and where I am assuming it would show up.


3. (Where it was pulled from) - Users/ABC/Downloads/testt 

(Where it is) /Users/ABC/Music/Music/Media.localized/Prince/PMA 001 - Demos and Outtakes Vol. 1

Also wasnt sure which true path you were referring..from the path where I originally saved all the music (the “one specific folder” I mentioned above, or the where the song is in the Media folder. I have provided both.


Hope I have provided enough info. Thanks again!


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.

Exclamation mark after immediately uploading somgs

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