{"id":48292460,"url":"https://github.com/outlook84/mpv-handler-openlist","last_synced_at":"2026-04-04T23:14:18.439Z","repository":{"id":303753097,"uuid":"1016329869","full_name":"outlook84/mpv-handler-openlist","owner":"outlook84","description":"A URL protocol handler for mpv","archived":false,"fork":false,"pushed_at":"2025-07-09T08:05:54.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T08:59:31.433Z","etag":null,"topics":["mpv","openlist"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outlook84.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,"zenodo":null}},"created_at":"2025-07-08T21:02:00.000Z","updated_at":"2025-07-09T08:05:57.000Z","dependencies_parsed_at":"2025-07-09T08:59:39.227Z","dependency_job_id":"830540d7-8b6b-45e9-a139-5af58d0f0a97","html_url":"https://github.com/outlook84/mpv-handler-openlist","commit_stats":null,"previous_names":["outlook84/mpv-handler-openlist"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/outlook84/mpv-handler-openlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlook84%2Fmpv-handler-openlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlook84%2Fmpv-handler-openlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlook84%2Fmpv-handler-openlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlook84%2Fmpv-handler-openlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outlook84","download_url":"https://codeload.github.com/outlook84/mpv-handler-openlist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outlook84%2Fmpv-handler-openlist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31418289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["mpv","openlist"],"created_at":"2026-04-04T23:14:17.923Z","updated_at":"2026-04-04T23:14:18.426Z","avatar_url":"https://github.com/outlook84.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpv-handler-openlist\n\n[中文](./README_zh.md)\n\nA URL protocol handler (`mpv://`) for the [mpv](https://mpv.io/) or [mpv.net](https://github.com/mpvnet-player/mpv.net) media players on Windows. This tool is designed to be used with the [OpenList](https://github.com/OpenListTeam/OpenList) web application to open video links in mpv or mpv.net player.\n\n## Features\n\n- **`mpv://` Protocol**: Handles `mpv://` URLs to open videos in mpv or mpv.net.\n- **Easy Setup**: Simple command-line installation and uninstallation.\n- **Configurable**: The path to `mpv.exe` or `mpvnet.exe` is configurable.\n- **Logging**: Optional logging for troubleshooting.\n- **Custom User-Agent**: Allows setting custom User-Agents for specific URL paths.\n\n## Installation\n\n1.  **Download**: Go to the [Releases page](https://github.com/outlook84/mpv-handler-openlist/releases) and download the latest `mpv-handler.exe`.\n2.  **Place Executable**: Move `mpv-handler.exe` to a permanent location on your computer (e.g., inside your mpv or mpv.net folder).\n3.  **Register Protocol**: Open a Command Prompt or PowerShell **as an administrator** in the directory where you placed the executable and run the following command. **Remember to replace the path with the actual path to your `mpv.exe` or `mpvnet.exe`**.\n\n    ```shell\n    .\\mpv-handler.exe --install \"C:\\path\\to\\your\\mpv.exe\"\n    ```\n\n    If successful, you will see the message \"Protocol installed and mpv path saved.\" A configuration file named `mpv-handler.ini` will also be created in the same directory.\n\n## Usage\n\nOnce installed, simply click the `mpv` icon on the [OpenList](https://github.com/OpenListTeam/OpenList) web video playback page, and it will automatically call the player to play the current video.\n\n## Uninstallation\n\nTo remove the URL protocol from your system, open a Command Prompt or PowerShell **as an administrator** in the tool's directory and run:\n\n```shell\n.\\mpv-handler.exe --uninstall\n```\n\n## Configuration\n\nThe tool uses a configuration file named `mpv-handler.ini`, located in the same directory as the executable.\n\n```ini\n[mpv-handler]\nmpvPath   = C:\\path\\to\\your\\mpv.exe\nenableLog = false\nlogPath   = mpv-handler.log\n[UserAgents]\naaa/bbb = \"pan.baidu.com\"\nbbb/ccc = \"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0\"\n```\n\n- `mpvPath`: Path to mpv.exe or mpvnet.exe\n- `enableLog`: Set to true to enable logging\n- `logPath`: Path for the log file\n\n\n### Custom User-Agent\n\nYou can specify a custom User-Agent for video sources under specific paths.\n\nThe key is a path prefix that will be matched against the part of the URL after `/d/`. For example, for the URL `https://.../d/aaa/bbb/ccc`, the path used for matching is `aaa` or `aaa/bbb/ccc`.\n\n## License\nThis project is licensed under the GNU General Public License v2.0. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutlook84%2Fmpv-handler-openlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutlook84%2Fmpv-handler-openlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutlook84%2Fmpv-handler-openlist/lists"}