https://mpv.io/manual/stable/#options-directory-filter-types
--directory-filter-types=<video,audio,image,archive,playlist>
Media file types to filter when opening directory. If the list is empty, all files are added to the playlist. (Default: video,audio,image,archive,playlist)
https://mpv.io/manual/stable/#options-image-exts
https://mpv.io/manual/stable/#options-video-exts
https://mpv.io/manual/stable/#options-archive-exts
https://mpv.io/manual/stable/#options-playlist-exts
To avoid overlapping functionality, please see if the script's "file format whitelist" is still needed.
I used to use an mpv LUA script to filter out dozens of non-video/-audio formats (I have another profile for image viewing) — I removed the said script after having used --directory-filter-types=video,audio for a while.
https://mpv.io/manual/stable/#options-directory-filter-types
https://mpv.io/manual/stable/#options-image-exts
https://mpv.io/manual/stable/#options-video-exts
https://mpv.io/manual/stable/#options-archive-exts
https://mpv.io/manual/stable/#options-playlist-exts
To avoid overlapping functionality, please see if the script's "file format whitelist" is still needed.
I used to use an mpv LUA script to filter out dozens of non-video/-audio formats (I have another profile for image viewing) — I removed the said script after having used
--directory-filter-types=video,audiofor a while.