Awesome
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
/DOWN
to move selectionENTER
to load highlighted entryDEL
to delete highlighted entry0
-9
for quick selectionESC
to exit
- Mouse (if turned on):
WHEEL_UP
/WHEEL_DOWN
to move selectionMBTN_MID
to load highlighted entryMBTN_RIGHT
to exit
Modify settings through script-opts/recent.conf
- Log path is
history.log
inside whatever config directory mpv reads - Disabling
auto_save
makes 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