Is there a simple file browser for searching a directory and opening a file?

mariah@feddit.rocks to Linux@lemmy.ml – 30 points –

I download my music videos and shuffle them in mpv. Sometimes i want a certain song so i want like a hotkey to open ~/Music\ Videos/ and search for a file. I used rofi file browser extended from the aur but i cant get it to compile on debian

14

There are file browsers for mpv, probably what you want. https://github-wiki-see.page/m/mpv-player/mpv/wiki/User-Scripts

They remove the shuffle playlist

Shuffle playlist as a shortcut or cli-argument? Shortcuts can be customized in inputs config.

Also there are three in the list (only searching for „browse“): blackbox, file-browser, simple-loader

file-browser (or mpv-file-browser) can be customized for shortcuts. blackbox and simple-loader i could not find if they can be.

I use --shuffle

Do you launch with shuffle, some songs shuffle, add new song via browser and it plays the new next and not later? Or does it break the playlist? If the latter, maybe create an issue with the browser, sounds like a bug.

When i choose a file, it clears the playlist

Yep that sounds like a bug. You can report it on github, all three scripts have repos.