natural-harmonia-gropius / recent-menu

Recently played menu for mpv.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recent menu

Recently played menu for mpv.

Getting started

Context Menu

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

uosc

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

General

Play most recent one.

KEY                 script-binding recentmenu/last

Options

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

About

Recently played menu for mpv.

License:MIT License


Languages

Language:Lua 100.0%