How do I rebuild my Music library?

How do I rebuild my Music library? I accidentally imported multiple times and large amount.


MacBook Pro 15”, macOS 10.15

Posted on Aug 3, 2020 12:23 PM

Reply

Similar questions

16 replies

Aug 5, 2020 4:23 PM in response to colinmusic

Hello Colin,



Thanks for that info and for choosing the Apple Support Communities. If we understand correctly, you are looking to remove duplicate songs on your Mac. Having an organized music library is important. We can understand why you'd be reaching out for a resolution.


We have a great resource which will actually help you remove duplicate songs. Check that out here: Find items and duplicates in Music on Mac



Cheers!



Aug 5, 2020 6:40 PM in response to colinmusic

Depending on what you've done so far there could be multiple copies of the media files as well as multiple entries in the library. Deleting the library, creating a new one, and then importing your media file might not fix things, or you might lose ratings or playlists you want to keep. It somewhat depends on details that you've yet to share. Is the content you imported safe in a different location from the Music library and is there nothing else from the library that you need to preserve? In Catalina this is normally User/Music/Music. If so you could delete the lower level Music folder, empty the trash, and launch Music. It should create a new empty library for you into which you can try importing your media once more.


tt2

Aug 6, 2020 2:44 AM in response to colinmusic

I presume you've copied some output from terminal, but it means nothing to me. The core of a Music library in Catalina will be the Music.musiclibrary database, normally found in /Users/<User>/Music/Music. Moving this or the media folder around within the same volume likely won't affect what you see when you open Music. macOS/OS X tends to keep track of files moved around on the same volume, so you may need to create a copy, then delete the original and empty the trash, if you want to prevent a previous version of your database from being accessed.


tt2

Aug 6, 2020 6:58 AM in response to turingtest2

I cleaned all iTunes stuff when I copy from backup. So, the Media folder contains only media files. I also import without copying because the files are already in the folder I like. The duplicate entries are caused by importing multiple times I believe, as I was trying to figure things out in Music. If there are 4 duplicate entries for example, only 1 of the entry actually is valid and points at an actual media file .. that is it can play. The others are invalid. You cannot play them.

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.

How do I rebuild my Music library?

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