recent
recent copied to clipboard
recent.lua
Recently played menu
Logs played files to a history log file with an interactive 'recently played' menu that reads from the log. Allows for automatic or manual logging if you want a file bookmark menu instead.

Menu controls:
- Default display hotkey is
` - Keyboard:
UP/DOWNto move selectionENTERto load highlighted entryDELto delete highlighted entry0-9for quick selectionESCto exit
- Mouse (if turned on):
WHEEL_UP/WHEEL_DOWNto move selectionMBTN_MIDto load highlighted entryMBTN_RIGHTto exit
Modify settings through script-opts/recent.conf
- Log path is
history.loginside whatever config directory mpv reads - Disabling
auto_savemakes it only save with a keybind- No save key is bound by default, see
script-opts
- No save key is bound by default, see
- See comments in the script for more info
Play most recent one.
KEY script-binding recent/play-last
uosc integration
tomasklaen/uosc is required.
Menu - add following to input.conf.
KEY script-binding recent/display-recent #! Recently played
Controls - add following to uosc.conf#controls.
command:history:script-message-to recent display-recent?Recently played
mpv-menu-plugin integration
mpv-menu-plugin is required.
Menu - add following to input.conf.
KEY script-binding recent/display-recent #! Recently played #@recent