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: 4 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-01-30T14:20:59.000Z (5 months ago)
- Last Synced: 2024-01-30T15:50:04.149Z (5 months ago)
- Topics: mpv, mpv-script
- Language: Lua
- Homepage:
- Size: 60.5 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-mpv - recent-menu - Recently (history) played menu integrated with uosc. (Playback)
README
# Recent menu
Recently played menu for mpv integrated with uosc and mpv-menu-plugin.
## Getting started
### 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
KEY 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
```### mpv-menu-plugin
**[mpv-menu-plugin](https://github.com/tsl0922/mpv-menu-plugin) is required.**
[Menu](https://github.com/tsl0922/mpv-menu-plugin?tab=readme-ov-file#messages) - add following to `input.conf`.
```ini
KEY ignore #menu: Recently played #@recent
```> [!NOTE]
> Due to the limitations of mpv-menu-plugin itself, attention should be paid to:
>
> - The menu will not update when the file is deleted
> - Multiple mpv instances may have inconsistent menus### Unrelated
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
```