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 >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Restoring selected Mac music files but keeping playlists?

Over the years with many hardware on OS changes, my Music directory is officially a mess. I worked for a music industry, my partner was in radio, so between the two of us we (still) have over 1,000 CDs that I ripped and added to Music along with many iTunes purchases. Needless to say we’re music aficionados.


We lost some music files when iTunes Match came out (someday I’ll rerip those!) and now have family Apple Music.. Hence, my MacBook’s Music directory is a mess, and to make matters worse, I screwed up our Classical music genre badly - missing artists, incorrect composers, wrong album art, albums randomly split, missing tracks,, etc. I also lost the Automatically Add folder and don’t know how to get it readded. I have my Mac set to sync across my devices.


I have an external SSD with a less screwed up directory particularly the Classical genre. In the interim I’ve added and edited playlists, and added Apple Music tracks/albums none of which I can lose.


Can I delete all artist folders except the one titled Apple Music, copy the files/folders from my SSD, delete the music library file, and then run Music to regenerate the correct library? Will I lose playlists?


Also how do I get back my Automatically Add folder? I could still do the purge, but copy SSD artist folders to Automatically Add.


It would be awful to go artist, then album, then track to fill in missing music. That wouldn’t help me with fixing track data though. Please help!

MacBook Air

Posted on Sep 13, 2022 3:43 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 14, 2022 7:24 AM

Check the location of your Music Media folder by looking at Music > Preferences > Files. The Automatically Add to Music folder will be generated inside the media folder, unless Music is prevented by incorrect permissions settings.


Apple Music content must be downloaded by the application. If you were to delete the .musiclibrary database and create a new one you would need to delete the Apple Music folder and then redownload any Apple Music content you want to be available locally.


Whatever the current issues are with your library it is probably better to work through them systematically rather than tear it all all down and hope for better luck when rebuilding it.




Regarding split albums


If iTunes shows multiple instances of an artist or an album then what generally works is to select all related tracks and use Get Info to add say a trailing X to each of the fields that the tracks should have in common:

  • For an album; Album, Album Artist, and Artist (if artist is the same for all tracks) *
  • For an artist; Album Artist (and Artist unless there are guest/featured artists listed which should not be changed)

Apply the change which merges things together, then remove the excess characters. Occasionally it may help to close and reopen iTunes between the two renaming operations. Part of a compilation should also be set consistently.


* If tracks are to be synced to a non-iOS device there should be a common Artist and/or the album should be set as a Compilation.



Use the songs view and display the fields Album, Sort Album, Album Artist, Sort Album Artist, Artist and Sort Artist side by side so you see whether or not it is appropriate to edit Artist and if sort values could be causing any further problems. See Grouping tracks into albums for more help if required.



One further tip for really stubborn duplicates. At one point I had three lots of Various Artists in the artists view of my iTunes Match library that wouldn't respond to the usual trailing X treatment. What I found worked was to add the trailing X to start with, but then with each group that iTunes wanted to keep separate start typing a value and let iTunes autocomplete from say Var... to Various Artists. Picking from the autocomplete lists seemed to work when pasting/editing the whole value didn't.




I find it helps to use the Column Browser option in the songs view. You can then quickly step though each album artist or album in the browser, stopping only when you see an obvious issue that needs fixing, such as a split or incomplete album. When you get bored of the process make a note of which album artist or album you got up to so you know where to start when you get back to it. If Music is keeping the contents of the media folder organized the file system should tidy up as you make changes to the metadata in Music.



tt2

Similar questions

4 replies
Question marked as Top-ranking reply

Sep 14, 2022 7:24 AM in response to CountryMama

Check the location of your Music Media folder by looking at Music > Preferences > Files. The Automatically Add to Music folder will be generated inside the media folder, unless Music is prevented by incorrect permissions settings.


Apple Music content must be downloaded by the application. If you were to delete the .musiclibrary database and create a new one you would need to delete the Apple Music folder and then redownload any Apple Music content you want to be available locally.


Whatever the current issues are with your library it is probably better to work through them systematically rather than tear it all all down and hope for better luck when rebuilding it.




Regarding split albums


If iTunes shows multiple instances of an artist or an album then what generally works is to select all related tracks and use Get Info to add say a trailing X to each of the fields that the tracks should have in common:

  • For an album; Album, Album Artist, and Artist (if artist is the same for all tracks) *
  • For an artist; Album Artist (and Artist unless there are guest/featured artists listed which should not be changed)

Apply the change which merges things together, then remove the excess characters. Occasionally it may help to close and reopen iTunes between the two renaming operations. Part of a compilation should also be set consistently.


* If tracks are to be synced to a non-iOS device there should be a common Artist and/or the album should be set as a Compilation.



Use the songs view and display the fields Album, Sort Album, Album Artist, Sort Album Artist, Artist and Sort Artist side by side so you see whether or not it is appropriate to edit Artist and if sort values could be causing any further problems. See Grouping tracks into albums for more help if required.



One further tip for really stubborn duplicates. At one point I had three lots of Various Artists in the artists view of my iTunes Match library that wouldn't respond to the usual trailing X treatment. What I found worked was to add the trailing X to start with, but then with each group that iTunes wanted to keep separate start typing a value and let iTunes autocomplete from say Var... to Various Artists. Picking from the autocomplete lists seemed to work when pasting/editing the whole value didn't.




I find it helps to use the Column Browser option in the songs view. You can then quickly step though each album artist or album in the browser, stopping only when you see an obvious issue that needs fixing, such as a split or incomplete album. When you get bored of the process make a note of which album artist or album you got up to so you know where to start when you get back to it. If Music is keeping the contents of the media folder organized the file system should tidy up as you make changes to the metadata in Music.



tt2

Restoring selected Mac music files but keeping playlists?

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