I have my music organized by folder and subfolder. To get the music into VLC, I dragged the topmost folder into VLC.
For several years, if I double clicked on a higher level folder in the VLC library, it would open to the subfolder, and if the subfolder contained only music files, it would start to play the first song in the subfolder.
Starting recently, double clicking on a higher level folder has taken me to some arbitrary song in my library, not to a song in the tree below where I was double clicking.
Also, VLC no longer moves from one song to the next one in the same folder; it jumps to an arbitrary song somewhere else. I have the Library sorted in ascending order by Title.
The only troubleshooting I've done is to delete all the music from VLC and reimport it, but that didn't fix things.
Are there prefs files or some other place that might have gotten corrupt?