Hi,
This issue may have started because of a recent update that happened on your computer. We have an article in our support site that can help you with this concern. For more information, kindly visit the link provided here and see if it helps: Windows 10 Anniversary Update: Loss of music and video.
Let us know if you need further assistance.
If you think this was useful, you may "mark it as an answer" to help those who are facing the same concern.