I finished refactoring the script today.

It leverages fzf as a local video selection frontend for mpv. Additionally the script uses ffprobe and the kitty protocol to grab and display preview information and thumbnail.

The script also has an alternative mode, that instead lists local playlists for quick access.

  • Dr. Wesker@lemmy.sdf.orgOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    sh fzf_mpv.sh search_videos

    or

    sh fzf_mpv.sh search_playlists

    It assumes your movies are stored in ~/Videos but that path can be changed by editing line 3 of the script.