Ticket #17217
Currently the VLC context menu for an object in Playlist and Media Library includes:
Remove Selected
Clear the playlist
When one intends to click Remove Selected it's easy to accidentally click on Clear the playlist instead. If a Media Library exists, that immediately wipes it out with no way to recover, and if the Media Library is extensive, the process of rebuilding it can be very painful and problematic. Hence it would make sense to protect that action with undo (preferred) or confirmation. Or automatically backup the Media Library whenever it is updated.