Select multiple files with different extensions > hold [Control] and right click > Get Summary Info > Open with (select all) > click [Change All...].
The files don't need to be valid, just have the extension you want to associate, so you can do something like `touch _.mp3 _.mp4 _.m4a _.mkv` then select those files and set them all at once.
Re:Making macOS Behave Itself
by belovedmustache on Thursday May 26, 2022 @02:33AM
(#31515339)
There’s this old school system pref extension that does exactly this.
On Windows you can do things like set an application for all media files. Or choose which file types that VLC supports that it should open.
On macOS you have to modify every single file type by hand - which also requires a file of that type to operate on. It should be in System Preferences instead.