/mpv-filenavigator

Navigate and open your local files in mpv

Primary LanguageLuaThe UnlicenseUnlicense

Mpv Filenavigator

File navigator for mpv media player. Should work on linux, macos and windows. Relies on default unix commands cd, pwd, sort, test and ls. Edit the settings variable in the lua file to change defaults and to add favorite paths.

Keybinds

  • navigator (Alt+f) Activate script. When using dynamic keys this will need to be invoked to register keybindings.
  • navup navdown (up/down) cursor up/down
  • navback navforward (left, right) directory back/forward, incase of file append to playlist
  • navopen (Enter) open directory or file with mpv, same as mpv /path/to/dir-or-file, replaces playlist
  • navfavorites (f) cycle between favorite directories, edit settings to setup
  • navclose (ESC) Close navigator if it's open

On default dynamic keys are active which means that other binds than navigator(Alt+f) will only be active after activating the script with navigator keybind and until the osd timeouts. Dynamic keybindings will only override keys while they are active. Dynamic setting toggle can be changed in lua settings variable. The navigator start keybind can be changed in input.conf with KEY script-binding navigator. The dynamic keybinds should be set from the lua settings.

alt text

My other mpv scripts