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
You must log in or register to comment.
Fsearch, Recommended by Linux Format Magazine in their November 2023 series.
fzf is a great tool for this job. https://github.com/junegunn/fzf/wiki/examples
I tried that but it searches the entire filesystem
You should be able to change directory to the one you want. https://github.com/junegunn/fzf/wiki/examples#changing-directory
#!/bin/bash video_directory="~/Music Videos/ " while true; do read -p "Enter music video: " prompt find "$video_directory" -type f -name "*$prompt*" -exec umpv {} \; done
umpv: