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
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
#!/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:
https://github.com/mpv-player/mpv/blob/master/TOOLS/umpv