{"id":13835158,"url":"https://github.com/yuukidach/mpv-scripts","last_synced_at":"2026-01-05T09:05:36.856Z","repository":{"id":41055414,"uuid":"128709183","full_name":"yuukidach/mpv-scripts","owner":"yuukidach","description":"Scripts written for mpv","archived":false,"fork":false,"pushed_at":"2024-01-22T16:09:49.000Z","size":835,"stargazers_count":18,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T12:01:06.673Z","etag":null,"topics":["lua-script","mpv-script"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuukidach.png","metadata":{"files":{"readme":"README.md","changelog":"history_bookmark.lua","contributing":null,"funding":null,"license":null,"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":"2018-04-09T03:25:50.000Z","updated_at":"2025-05-03T08:10:05.000Z","dependencies_parsed_at":"2024-01-22T18:09:50.757Z","dependency_job_id":"c78d190c-a389-4a9c-ac5c-f52640108b66","html_url":"https://github.com/yuukidach/mpv-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuukidach/mpv-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuukidach%2Fmpv-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuukidach%2Fmpv-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuukidach%2Fmpv-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuukidach%2Fmpv-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuukidach","download_url":"https://codeload.github.com/yuukidach/mpv-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuukidach%2Fmpv-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28215494,"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","status":"online","status_checked_at":"2026-01-05T02:00:06.358Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["lua-script","mpv-script"],"created_at":"2024-08-04T14:00:57.398Z","updated_at":"2026-01-05T09:05:36.836Z","avatar_url":"https://github.com/yuukidach.png","language":"Lua","readme":"# mpv-scripts\n\n[![Static Badge](https://img.shields.io/badge/README-%E4%B8%AD%E6%96%87-blue)](./README.zh-CN.md)\n\nThese are scripts written for mpv.\n\n## How to use\n\n- Windows: move `*.lua` files into `\u003cpath of mpv\u003e/scripts/`\n- Linux: move `*.lua` files into `~/.config/mpv/scripts/`\n\n## show_filename.lua\n\nA simple script to show the name of current playing file.  To use this function, you need to press `SHIFT+ENTER`. For better experience, you could adjust the `osd-font-size` property in mpv.conf\n\nFor example:\n\n``` txt\nosd-font-size=30\n```\n\n## history-bookmark.lua\n\nThis script will create a history folder in `.config/mpv/history/` (unix like system) or `%APPDATA%\\mpv\\history\\` (windows). The history folder contains records of the videos you have watched. The next time you want to continue to watch it, you can open any videos in the folder. The script will lead you to the video played last time.\n\n![history-bookmark](./res/history-bookmark.png)\n\nAs shown in the screenshot, last time we watched episode 1. Now we can press `ENTER` to jump to ep1, press `n` or do nothing to stay in the episode we are watching now.\n\nIn order to resume from the exact point of the watching progress in target episode, you just need to add a line in the mpv.conf\n\n``` txt\nsave-position-on-quit\n```\n\n## Other scripts I recommend\n\n[autoload](https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua): Automatically load playlist entries before and after the currently playing file, by scanning the directory.\n\n## Contributors\n\n\u003ca href=\"https://github.com/yuukidach/mpv-scripts/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=yuukidach/mpv-scripts\" /\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":["File"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuukidach%2Fmpv-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuukidach%2Fmpv-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuukidach%2Fmpv-scripts/lists"}