To repair or fix a corrupted Windows Media Player Library go through the following steps:-

Run Windows Media Player Troubleshooter