I'm looking for a video player that automatically builds a playlist from the folder when I open one of the videos inside it. Ideally, opening a file would add the other playable videos in that same directory as well, so I could watch them in sequence without manually selecting each one. Natural or numeric filename sorting would be a bonus, since some players sort files like ep_1.mp4, ep_10.mp4, ep_2.mp4 instead of using the expected episode order. I'm currently using KDE Plasma, though I may have seen this behavior previously in a different desktop environment.
3 Answers
Haruna appears to do exactly this: open a video from a folder and it adds the other playable files from that directory to the playlist. It also seems to use natural sorting, so files numbered without leading zeroes are ordered as ep_1, ep_2, ep_3, and so on rather than putting ep_10 directly after ep_1.
mpv can add an entire directory when you open the folder itself, for example with `mpv /path/to/folder`. It will scan the directory and play the supported files in playlist order. Opening an individual file may not automatically add its neighbors, but launching mpv with the folder is a straightforward alternative.
Many players support adding a folder or dragging one onto the player window, which fills the playlist with the playable files inside. If the player does not automatically do this when opening a single file, opening or dragging the directory instead is usually the simplest workaround.

Related Questions
Extract Audio From Video File