memo
memo copied to clipboard
Show up history when launching mpv
I have a feature request to show history menu when launching mpv, is it possible with your script?
Alternative script simplehistory does this by default https://github.com/Eisa01/mpv-scripts
Create a new lua file in your config with the following content
mp.command('script-binding memo/memo-history')
I think the issue is about opening the history if no file is selected? That's what SimpleHistory does.
In that case
mp.observe_property('idle-active', 'bool', function(_, val)
if not val then return end
mp.command('script-binding memo/memo-history')
end)
Can be achieved with the following auto-profies. I may add an option for this after the search refactor as I don't like the behavior when the menu is already open.
[memo-idle]
profile-cond=idle_active
input-commands=script-binding memo-next
[memo-active]
profile-cond=not idle_active
input-commands=