Nested Music folders under Apple Music on Windows

Over the past few months, iTunes has been converting itself to Apple Music for Windows users. I ended up with most of my song files in a new nested Music folder:

D:\Music\iTunes\iTunes Media\Music\Music\

All the album art is in the higher Music folder along with some of my song files.

However, most of the song files (4,000 out of 5,000) are in a new, nested Music folder and Apple Music shows an Error for those songs. AM shows the file location for these Error songs as:

file://localhost/D:/Music/iTunes/iTunes Media/Music/songname.m4a

That song location is actually:

D:/Music/iTunes/iTunes Media/Music/Music/songname.m4a

turingtest2 in a post nine years ago mentioned that "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."

I would really appreciate a fix for this. Thank you.

Windows, Windows 10 (19045)

Posted on Feb 25, 2025 8:14 AM

Reply
4 replies
Sort By: 

Feb 25, 2025 10:43 AM in response to mcbobhall

Hi.


In iTunes the media folder was originally at ..\iTunes\iTunes Music, and all artist folders went into this folder, with special subfolders for different media kinds. With iTunes 8 (I think) the media folder was changed to ..\iTunes\iTunes Media with music now getting its own subfolder for the artist folders. From the look of things you have accidentally selected ..\iTunes\iTunes Media\Music as the media folder at some point, and iTunes has created the extra deep ..\iTunes\iTunes Media\Music\Music folder as a result.


Your examples don't show the <Artist> and <Album> subfolders I would normally expect to see when iTunes has managed where things live, so perhaps you've manually arranged files before adding them to iTunes, and the library has now been taken over by Apple Music. Inside the currently designated media folder will be a hidden file called .Media Preferences.plist. You can view/edit this file in Notepad. If the layout value reads 1 Apple Music will expect there to be an additional /Music folder below the media folder, before it gets to the file it is looking for. If the value is 0 then it won't add that extra layer.


You may be able to fix things by setting your media folder to D:/Music/iTunes/iTunes Media/Music/ and ensuring that the layout value in the .plist is 1. However, changing the media folder or the .plist may cause Apple Music to lose track of some existing content it is already connected to. Difficult to know for sure. Reverting the changes you made should repair things if that happens. The alternative approach would be to move the content that you know is broken from the deeper Music folder to the Music folder above it, so that it ends up exactly where Apple Music is currently looking for it.


tt2

Reply

Feb 26, 2025 4:50 PM in response to turingtest2

I ended up using your alternative approach and moved the song files into one directory where Music expected them to be. The upper Music folder had mostly artwork. The lower Music folder had mostly the song files. The subfolders in each were identical. Using Beyond Compare made it easy to merge the two folders without any duplicates or damage. All is well. Thanks again for being so helpful.

Reply

Nested Music folders under Apple Music on Windows

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