Delete All Media Files from Library
To remove all media file entries from your Media Center library go to File | Library | Clear Library.
This does not delete the disk files, but just removes all associations to these files from your Media Center library.
Warning: You will lose all database information, including Playlists.