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

Apple Music for Mac Library Sync troubles continue

I have several threads here over many weeks with various history of speed bumps, but here's a summary of my problems, none yet solved. I will call support, but thought posting a summary here might help me or others.


Most recent (of several) Case IDs is 101954459885.


Background:

(a) 2017 iMac Ventura 13.2.1 (22D68)

(b) Apple Music for Mac 1.3.3.2

(c) I have no 3rd party security and no antivirus programs & don’t use Adobe products (no Photoshop, no Lightroom…)

(d) My extensive Local Apple Music library is entirely on an external USB drive (no Music files on local iMac drive)

(e) Recently I joined the Music streaming service (which has historically given my local library files nothing but big trouble)

(f) I run Disk Util regularly on my internal and external drives(about every two weeks, more often lately with troubles piling up)

(g I have a recent EtreCheck file if it might help debug (no major problems reported)

(h) I checked the Sync Library box in Music and (guess what) the trouble started:


Problems:

(1) Cannot unmount my external USB drive after I open Apple Music. For example: Must reboot, (not open Apple Music) then run Disk Util. This was true long before joining the streaming service.


(2) Library Syncing in Apple Music Settings always fails due to an Error (1409?) - some type of Genius error. This happens even when signed in to a new User account. I have given up on Library Syncing in an attempt to repair my now-broken local library woes. [Library Syncing also removed the artwork in ~5,000 of my local music files and deleted a dozen-ish files, some audio, some video. Back ups in place, no worries.]


(3) I have been using a Doug’s Apple Script to Re-embed Artwork into the local files (just to see if distant, future Library Sync attempts maintain artwork), but curiously: Using an Apple Music Smart Playlist to view only local files containing art, the Script finds many files missing art, although the Smart list does not find these. Perhaps, just like broken “Live updating” in Smart Music Playlists, I have given up trusting Smart playlists using any local files. Why might this happen?


(4) After each reboot, some type of external USB drive permissions trouble creates write errors (in Music and elsewhere on the drive) (e.g., I get Error -54). At first, I solved this by Unlocking the iTunes and all its sub folders. But this only worked once. Now, to use Music or this drive at all, I must check the USB drive’s ‘Ignore ownership on this volume’ box and ‘Apply it to enclosed items’ using the pulldown under Get Info. Library is still in an iTunes folder (and its many subfolders; perhaps re-importing files into the new Apple Music folder structure would help my woes??


Clues:

(A) Safe Mode does not allow any Music to play. It loads the track, but never goes beyond zero time - no audio. (This is using my local USB music files)


(B) Logging in to a new User Account, Music will play. 


(C) Sync between a left & right stereo pair of AirPod Minis comes and goes. Reboots of routers & Minis fixes this. But then it re-occurs almost daily after pausing, then continuing playback.


(D) Also after time periods of paused music, and continuing playback, the Headphone output audio on iMac briefly mutes every tens seconds - but only when AirPlay is used. But consistently reproducing this issue has been difficult.


(E) I have two Apple TVs - both of which use my Music artwork files as Screen Savers. Perhaps this might contribute to file permissions issues (since screen savers have been wonky the past many months on MacOS & maybe TVOS?)?


Perhaps I should quit Apple Music Streaming service in an attempt to eliminate complexity and salvage my damaged local library first - which is really what I care about most.


Have a great day!

iMac 27″ 5K, macOS 13.2

Posted on Mar 21, 2023 9:40 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 25, 2023 7:22 AM

The format should be OK. Try Repair security permissions for iTunes/Music for Mac - Apple Community just in case the steps I suggest there add anything to what you've already tried.


For the Genius error you can try turning off Sync Library, then turn off Genius, close Music, look inside the Music Library.musiclbrary package, delete the Genius.itdb file and remove it from the trash, then launch Music and try to turn on Sync Library once more, or just turn on Genius if you don't want to use Apple Music.


The layout shouldn't really matter, but see Managing your Mac media libraries - Apple Community for advice on arranging things into the standard shape for a Music library.


tt2

Similar questions

7 replies
Sort By: 
Question marked as Top-ranking reply

Mar 25, 2023 7:22 AM in response to SteveSWall

The format should be OK. Try Repair security permissions for iTunes/Music for Mac - Apple Community just in case the steps I suggest there add anything to what you've already tried.


For the Genius error you can try turning off Sync Library, then turn off Genius, close Music, look inside the Music Library.musiclbrary package, delete the Genius.itdb file and remove it from the trash, then launch Music and try to turn on Sync Library once more, or just turn on Genius if you don't want to use Apple Music.


The layout shouldn't really matter, but see Managing your Mac media libraries - Apple Community for advice on arranging things into the standard shape for a Music library.


tt2

Reply

Mar 24, 2023 4:35 PM in response to turingtest2

The external drive is formatted Mac OS Extended (Journaled). And, yes, the .musiclibrary file is also on the external drive in the "/iTunes/Mac's iTunes Library/" folder. Music files are in the "iTunes/iTunes Music/" folder.


The "/iTunes/Mac's iTunes Library/Media/" folder is empty.


[The video files for the TV for MacOS app (and a good number of straggler video files I still have in the Music for Mac app), are in the "/iTunes/iTunes Music/Movies" and "iTunes/iTunes Music/Home Videos/" folders.]


Thanks!

Reply

Mar 25, 2023 10:45 AM in response to turingtest2

OK, I've gone through your (great) article a few times over the past month, and tried some things previously, but troubles continue. Just for yucks, I tried a couple things again (e.g., unlock after a reboot), and here's my thoughts (solely to keep my own sanity and write stuff down that I've tried ...with results).


(1) As I said above, only the first time I "unlocked" the iTunes and all sub folders did it help my troubles. Tried again, and no go. Error -54 continues. This seems strange to me. Head scratcher, like Music is using a file outside this iTunes folder - but I can't find one. I'll poke around more.


(2) I don't use mp3 files. (maybe I have a few junk mp3 files from friends, but I don't care them about at all).


(3) Activating Airplay may or may not have caused my other file/tag speed bumps, above? I'll try playing with this a bit. I haven't seen anything pointing in the "tag or file trouble" direction except above problems C (stereo HomePod Mini left-right syncing woes) & D (short audio mute each ten seconds on iMac headphone output) that are obviously related to AirPlay being ON. So, maybe this also causes trouble with tagging and permissions? Maybe you can point me toward a thread indicating the file trouble Airplay may have caused others so I can test with more knowledge than none? : )


(4) Don't use wav files (that I care about).


(5) Apple Music reverting to previous libraries. Haven't seen anything suggesting this issue. It seems this would cause recently changed tags to disappear or change. I haven't seen this. Only artwork disappearing during/after trying (and failing) to Sync Library with the streaming service. I've been avoid clicking Sync Library like it's worse than Covid-19.


(6) All my files contain text in the name / title field.



On the Genius and Sync Library topic: I have had Genius off for years (never used it unless I accidentally click a genius menu item by accident). And I won't be clicking Sync Library until (or if) I solve my permissions problem. I'll try deleting the Genius file before my next Sync Library attempt after I get this round of issues past me. Not sure I can ever trust Apple Music with my files again. (I can't handle too many more speed bumps before jumping to the Tidal ARC world - or maybe JRiver Media Center which I use with my surround and high res files).

--


In my iTunes Media folder, there are two interesting folder names. One I've sussed, but the second one is a mystery.


The first is a folder with 'artist name' _ (a single underscore character); this is for the artist 'Lipps, Inc.' (with a period at the end of the artist name). So I'll guess this is what the OS/Music does to store (artist) filenames that end in a period - a typically poor file naming practice.


The second folder is named _ _ (two underscore characters with a space between). It has 21 subfolders but none of the files seems in need of special file storage handling - a few examples:


(a) Edwin Starr's Agent Double-O-Soul (1965 Ric-Tic 7" 45 RPM single 103)


/Mac 8 TB (Eight)/iTunes/iTunes Music/_ _/Agent Double-O-Soul (1965 Ric-Tic 7_ 45 RPM single 103)/6-02 Agent Double-O-Soul.m4a


(b) The Show Stoppers' Ain't Nothin' But a House Party (1967 Party Time 7" 45 RPM single PT-1002)


/Mac 8 TB (Eight)/iTunes/iTunes Music/_ _/Ain't Nothin' But a House Party (1967 Party Time 7_ 45 RPM single PT-1002)/6-25 Ain't Nothin' But a House Party.m4a


(c) George Michael's 'Heal the Pain (with Paul McCartney)' from the album 'Twentyfive'


/Mac 8 TB (Eight)/iTunes/iTunes Music/_ _/Twentyfive/2-07 Heal the Pain (with Paul McCartney).m4a


Obviously, these aren't causing file permissions, Airplay sync or other tagging issues. But a head scratcher for me. I've even tried renaming and editing these tags galore, but they remain in this _ _ folder. Maybe I should try deleting them and re-importing them.


Thanks for the continued help!

Reply

Mar 25, 2023 11:48 AM in response to SteveSWall

Underscore is used for any character than cannot be used in a file name. My guess is that _ _ is a single space in the Album Artist field, which takes preference over Artist unless it is actually blank. If both Album Artist and Artist are blank iTunes/Music uses Unknown Artist for the artist folder.


Using a separate library for Apple Music/iCloud Music Library is one way of testing it out without risking your own metadata. I have two proper libraries, roughly 10k tracks in an Apple Music (formerly iTunes Match) library that syncs across iPhone, iPad, Apple TVs and HomePods, and about 68k in the main library when I want some of my more obscure tracks or have duplicates that would be excluded. There are also dozens of tiny libraries made for testing things when I'm trying to track down an issue or write a script for a particular task.


tt2

Reply

Mar 25, 2023 12:23 PM in response to turingtest2

Thanks for the further suggestions!


Indeed you helped me solve the _ _ (underscore space underscore folder) problem. All the song file tags in this folder, had some number of spaces for the 'album artist' field. Once I cleared that field (I never use it and want it always completely blank), the _ _ folder disappeared and the files were moved to their proper artist's name folder. That mystery solved.


I'll try a few new libraries and am long term thinking of slowly adding my files in to a new library on a new external drive.


Thanks again!

Reply

Mar 25, 2023 1:18 PM in response to SteveSWall

I'm of the opinion that Album Artist should always be filled in, even when it is perhaps redundantly the same as artist. Leaving it blank might potentially impact on Genius/Apple Music processing, but I don't know for sure. The extended details I see in your album titles might also be an issue. I tend to put any additional information in comments and use simpler titles.


tt2

Reply

Apple Music for Mac Library Sync troubles continue

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