Recently played menu for mpv.
tsl0922/mpv-menu-plugin/dyn_menu.lua is required.
Menu - add following to input.conf
.
_ ignore #menu: Recently played #@recent
Warning
Due to the limitations of context-menu (mpv-menu-plugin), the menu may show unexpected results
- The menu will not be updated in time when the file is deleted
- The menu will be inconsistent when multiple mpv instances work at the same time
tomasklaen/uosc is required.
Menu - add following to input.conf
.
# script-binding recentmenu/open #! Recently played
Controls - add following to uosc.conf#controls
.
command:history:script-message-to recentmenu open?Recently played
Play most recent one.
KEY script-binding recentmenu/last
enabled = yes # whether to record current playing file, can be used with auto-profile
path = "~~/recent.json" # where the history is stored
length = 10 # number of items
width = 88 # number of characters for the item
ignore_same_series = yes # similar file names only record the most recent one