Have been moving my music collection around and noticed that nearly half of the files didn't get added to the media library when monitoring the folder, or manually scanning it.
After investigating for awhile, I discovered that folders marked with the System attribute were being ignored by the media library. I guess this is understandable, but left me with two questions: First, how did only certain folders get this attribute set. Secondly, how do I go about changing it?
About 130 of 410 total folders had the System attribute set. I don't know exactly how it got set, but it may have something to do with the folders being stored temporary on a Samba-based file share.
My first though was to type attrib -s *. /s /d
However, while *. should match only files without extensions (which includes directories), attrib matches all files when given the *. wildcard pattern. I was worried that the various WMP related files such as AlbumArt* and Folder.jpg and Thumbs.db would also lose their System attribute.
Executing the attrib command above did attempt to reset those files as well, but since they are also marked with the Hidden attribute, and error was presented and attrib moved on.
What I learned was that with Windows Media Player version 10, the media library will not automatically add folders that are marked with the System attribute. If you are having problems getting artists or albums to import correctly into the media library, check the System attributes.