Songs downloaded from Apple Music don’t work after copying library to new Mac
I’m trying to transfer my music library from my old MacBook to a newer iMac but 99% of downloaded Apple Music tracks don’t play, though a tiny amount still do. All personal local files play fine. Apple Music songs will work if streamed but if any are downloaded the songs just quickly skip or stay at 0:00.
I had migrated my entire Mac over before and everything seemed to work but I wanted to start fresh so I wiped and have just copied things over. Old Mac is on Monterey and the new on Ventura. The old Mac has been updated over time so music media files have been located under /music/iTunes/, no external drives or split type of thing.
First attempt I copied the .musiclibrary file from old Mac to the new one under the same /Music/Music/ folder. Copied the /Music/iTunes/iTunes Music/Apple Music/ and /Music/iTunes/iTunes Music/Music/ folders and put those in /Music/Music/Media/ on the new Mac (Essentially the new normal media layout). Made sure the music settings media storage was /Music/Music/Media/. Upon loading all the songs had correct file paths and no exclamation marks but only downloaded Apple Music songs wouldn’t play. However Cloud library wouldn’t sync and said my library was not recognised, turning sync off and on didn’t fix.
Then I tried the original file structure on the new mac. The .musiclibrary under /Music/Music and the Apple Music and Music folders under /Music/iTunes/iTunes Music/ with media set to that. No change.
Decided I would consolidate files on the old Mac. Resulting in the exact same layout I had made on the new Mac but done by the system on the old Mac and probably set the file paths correctly which was evident by a library.xml export. Now only having to copy the /music/music/ folder to the new Mac. Again it said my library wasn’t recognised but this time after turning off and on cloud sync once it now properly syncs, new Apple Music songs get added, but still if they are downloaded they don’t play. Again all tracks show their correct file paths in their info. No exclamation marks. It just skips over them. Re-downloading tracks again changes nothing.
Tried:
Swapping media file locations back and forth and saying yes or no to moving/organising.
Deauthorising and authorising
Signing in and out of music
Turning on off the sync cloud library
Restarting Mac or closing music after making changes
Copying just the .musiclibrary file and downloading Apple Music songs again, still doesn’t play
Giving file access or read & write to music
Copying Data from com.apple.AMPArtworkAgent
Online/offline doesn't change anything
The only time downloaded Apple Music songs work is a brand new .musiclibrary file. If you download them and then replace the file with a copy from the old Mac it still plays. So something to do with the .musiclibrary from my old Mac which it doesn’t like.