Thomas Hawk ranted about Media Center the other day. Charlie Owen and Matt Goyer of Microsoft’s Media Center team responded (Matt on his own blog and in comments on Thomas’s blog), and the upshot is that Thomas’s complaints are being taken very seriously.
I’ll have more to say about the MCE part of this post over on Ed Bott’s Media Central, although probably not till next week. But I want to address one of Thomas’s specific complaints here, because it’s more related to Windows in general.
Some background: Thomas has a very, very large digital music library. Last December, when he and I first exchanged details of this problem, Thomas’s library contained 141,000 files. I’m sure it’s larger now.
Thomas says he encounters disk errors when he tries to copy or back up those files:
Windows Explorer sucks. With a large digital library I simply cannot effectively copy files or back files up without having disc errors. Large batch copy jobs are super difficult as one little error aborts the whole job.
Let’s break this down. As Charlie Owen noted in his response, and I can attest, this is not normal behavior. I have 19 hard disks, internal and external, distributed among seven computers in my office. Collectively they represent well over 3 terabytes of storage. I move large numbers of files between computers constantly. I routinely copy the 16,000 files in my music library over network connections between external hard disks, and I don’t get disk errors. Now, if I try to copy a group of files, one of which is in use and locked by a running process, then Windows Explorer will stop. That is a weakness in Windows Explorer that is (1) being fixed in Windows Vista and (2) easily avoided by using third-party file-management tools. (It’s also what I was referring to when I said Thomas had a “legitimate complaint.”) But aside from that known issue, I’ve never encountered the problems Thomas describes. Nor should any properly configured Windows system, Media Center or otherwise.
So why is this happening to Thomas? I’ve read his complaints on this issue and we’ve exchanged some e-mail messages on this topic in the past. Thomas has told me that MP3 files are being randomly corrupted at frequent intervals. This is not normal behavior. It is not caused by Windows or Windows Media Player. There is no reason why any Windows user should get even a single corrupted file. If this happens, it indicates either a hardware problem (such as a buggy USB controller), a bad configuration (like cached writes being lost during copies), or data being damaged by software.
If I were Thomas, I would do the following things:
First, I would run a thorough diagnostic tool (like Ontrack’s Data Advisor) on all of the hard drives that were giving me problems.
Second, I would convince one of my buddies at Microsoft to put me in touch with an engineer who could verify that all drivers in my storage subsystem were working properly. If necessary, I would have that engineer hook up a remote debugger and then start the copy process until it fails, so that the exact error could be captured.
Third, I would find an MP3 diagnostic utility and check all of my MP3 files to see if any of them have damaged tags. The MP3 file format is flaky, especially in files that use the older ID3v1 format. If the file format is damaged, it could be causing problems during copies. I suspect that the WMP option to save star ratings to music files might be at least partially to blame for this problem. (In fact, I would recommend that Thomas use a batch MP3-editing program to translate all ID3v1 tags to ID3v2 and then rewrite all tags. This would be time-consuming but would have long-term benefits.)
Fourth, I would temporarily disable all features in WMP 10 that update or change music file metadata, especially those that affect star ratings. (This would not have any impact on currently stored ratings.) I would also disable folder monitoring temporarily.
Somewhere in that process, I’m sure the real cause of this problem would become apparent. Is this a lot of work? Well, yes, but this is also an absolutely certain way to fix the problem once and for all.