Open Dialog

My personal mpv scripts

Open Dialog

Rather than write a single cross-platform script, which would be too complicated, I opted for separate scripts for each platform.

All scripts provide the following functions:

open-files

Open one or more media files in mpv.
Default key binding: Ctrl + f

open-url

Open a URL in mpv.
Default key binding: Ctrl + F

open-subs

Open one or more subtitle files in mpv.
Default key binding: Alt + f


Linux

If you’re on KDE, you should download kdialog.lua which uses KDialog.

If not, you should download zenity.lua which uses Zenity.

Windows

Download powershell.lua.

MacOS

Download osascript.lua.