Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natural-harmonia-gropius/recent-menu
Recently played menu for mpv.
https://github.com/natural-harmonia-gropius/recent-menu
mpv mpv-script
Last synced: 3 months ago
JSON representation
Recently played menu for mpv.
- Host: GitHub
- URL: https://github.com/natural-harmonia-gropius/recent-menu
- Owner: natural-harmonia-gropius
- License: mit
- Created: 2023-02-13T08:20:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-20T05:11:32.000Z (5 months ago)
- Last Synced: 2024-06-30T10:22:08.621Z (4 months ago)
- Topics: mpv, mpv-script
- Language: Lua
- Homepage:
- Size: 76.2 KB
- Stars: 20
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpv - recent-menu - Recently (history) played menu integrated with uosc. (Playback)
README
# Recent menu
Recently played menu for mpv.
## Getting started
### Context Menu
**[tsl0922/mpv-menu-plugin/dyn_menu.lua](https://github.com/tsl0922/mpv-menu-plugin/blob/main/src/lua/dyn_menu.lua) is required.**
[Menu](https://github.com/tsl0922/mpv-menu-plugin/wiki/Configuration) - add following to `input.conf`.
```ini
_ 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](https://github.com/tomasklaen/uosc) is required.**
[Menu](https://github.com/tomasklaen/uosc#adding-items-to-menu) - add following to `input.conf`.
```ini
# script-binding recentmenu/open #! Recently played
```[Controls](https://github.com/tomasklaen/uosc#set-prop-value) - add following to `uosc.conf#controls`.
```ini
command:history:script-message-to recentmenu open?Recently played
```### General
Play most recent one.
```ini
KEY script-binding recentmenu/last
```## Options
```ini
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
```