This script will force open next or previous file in the currently playing files directory.
Set them inside the settings variable at the head of the lua file. Should work out of the box.
- filtering by filetype
- Allow/disallow looping
- linux/windows
You can copy paste below into your input.conf if you want to change the keybindings.
shift+LEFT script-binding previousfile
shift+RIGHT script-binding nextfile
Original author: jonniek
Forked from: mpv-nextfile
- Added back load next file automatically feature
- Disable autoload when the played file is in a playlist and not the last one
- Restore old keybindings: use
PgUp
andPgDn
instead of arrows