{"id":13835163,"url":"https://github.com/natural-harmonia-gropius/recent-menu","last_synced_at":"2025-07-10T07:31:29.238Z","repository":{"id":65875496,"uuid":"601034573","full_name":"natural-harmonia-gropius/recent-menu","owner":"natural-harmonia-gropius","description":"Recently played menu for mpv-player.","archived":false,"fork":false,"pushed_at":"2025-03-20T04:45:29.000Z","size":80,"stargazers_count":35,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T05:28:24.671Z","etag":null,"topics":["mpv","mpv-script"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natural-harmonia-gropius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T08:20:14.000Z","updated_at":"2025-03-20T04:45:32.000Z","dependencies_parsed_at":"2023-05-21T16:15:15.530Z","dependency_job_id":"caf51ea3-e89f-4aa7-8ad1-9ffe8ae78efd","html_url":"https://github.com/natural-harmonia-gropius/recent-menu","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/natural-harmonia-gropius/recent-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natural-harmonia-gropius%2Frecent-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natural-harmonia-gropius%2Frecent-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natural-harmonia-gropius%2Frecent-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natural-harmonia-gropius%2Frecent-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natural-harmonia-gropius","download_url":"https://codeload.github.com/natural-harmonia-gropius/recent-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natural-harmonia-gropius%2Frecent-menu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264545167,"owners_count":23625404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mpv","mpv-script"],"created_at":"2024-08-04T14:00:57.461Z","updated_at":"2025-07-10T07:31:24.230Z","avatar_url":"https://github.com/natural-harmonia-gropius.png","language":"Lua","funding_links":[],"categories":["Playback"],"sub_categories":[],"readme":"# Recent menu\n\nRecently played menu for mpv.\n\n## Getting started\n\n### uosc\n\n**[tomasklaen/uosc](https://github.com/tomasklaen/uosc) is required.**\n\n[Menu](https://github.com/tomasklaen/uosc#adding-items-to-menu) - add following to `input.conf`.\n\n```ini\n#                   script-binding recentmenu/open                      #! Recently played\n```\n\n[Controls](https://github.com/tomasklaen/uosc#set-prop-value) - add following to `uosc.conf - controls`.\n\n```ini\ncommand:history:script-message-to recentmenu open?Recently played\n```\n\n### command_palette\n\n**[stax76/mpv-scripts/command_palette](https://github.com/stax76/mpv-scripts?tab=readme-ov-file#command_palette) is required.**\n\n```ini\nz                   script-binding recentmenu/open                      #! Recently played\n```\n\nor\n\n```ini\nz                   script-message-to command_palette show-command-palette \"Recent Files\"   # Recent Files\n```\n\n### select\n\n**It’s a built-in script of mpv that was added in [#14087](https://github.com/mpv-player/mpv/pull/14087).**\n\n[Keybind](https://mpv.io/manual/master/#input-conf) - add following to `input.conf`.\n\n```ini\nz                   script-binding recentmenu/open                      #! Recently played\n```\n\n### Context Menu\n\n**[tsl0922/mpv-menu-plugin/dyn_menu.lua](https://github.com/tsl0922/mpv-menu-plugin/blob/main/src/lua/dyn_menu.lua) is required.**\n\n[Menu](https://github.com/tsl0922/mpv-menu-plugin/wiki/Configuration) - add following to `input.conf`.\n\n```ini\nMBTN_RIGHT          context-menu\n_                   ignore                                  #menu: Recently played  #@recent\n```\n\n\u003e [!WARNING]\n\u003e\n\u003e **Due to the limitations of context-menu (mpv-menu-plugin), the menu may show unexpected results.**\n\u003e\n\u003e - The menu will not be updated in time when the file is deleted\n\u003e - The menu will be inconsistent when multiple mpv instances work at the same time\n\n### General\n\nPlay most recent one.\n\n```ini\nKEY                 script-binding recentmenu/last\n```\n\nUse the specified menu provider\n\n```ini\nKEY                 script-message-to recentmenu open-recent-menu uosc\nKEY                 script-message-to recentmenu open-recent-menu command-palette\nKEY                 script-message-to recentmenu open-recent-menu select\n```\n\n## Options\n\n```ini\nenabled = yes                           # whether to record current playing file, can be used with auto-profile\npath = \"~~/recent.json\"                 # where the history is stored\nlength = 10                             # number of items\nignore_same_series = yes                # similar file names only record the most recent one\nreduce_io = no                          # reduce the number of JSON reads and writes. but menu may show unexpected results.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatural-harmonia-gropius%2Frecent-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatural-harmonia-gropius%2Frecent-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatural-harmonia-gropius%2Frecent-menu/lists"}