{"id":26212354,"url":"https://github.com/hackinggate/mpvx","last_synced_at":"2025-04-15T15:22:16.134Z","repository":{"id":43340653,"uuid":"257315365","full_name":"HackingGate/mpvx","owner":"HackingGate","description":"Mac app for mpv inspired by grsyncx","archived":false,"fork":false,"pushed_at":"2025-03-03T23:12:59.000Z","size":10149,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T21:51:08.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HackingGate.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":"2020-04-20T14:58:27.000Z","updated_at":"2025-02-12T00:06:08.000Z","dependencies_parsed_at":"2025-01-07T12:24:59.317Z","dependency_job_id":"6a6086e5-4452-4b0b-b146-64643e9dc8fc","html_url":"https://github.com/HackingGate/mpvx","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackingGate%2Fmpvx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackingGate%2Fmpvx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackingGate%2Fmpvx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackingGate%2Fmpvx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HackingGate","download_url":"https://codeload.github.com/HackingGate/mpvx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249095209,"owners_count":21211884,"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":[],"created_at":"2025-03-12T08:30:05.350Z","updated_at":"2025-04-15T15:22:16.110Z","avatar_url":"https://github.com/HackingGate.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpvx\n\n[![Lint](https://github.com/HackingGate/mpvx/actions/workflows/lint.yml/badge.svg)](https://github.com/HackingGate/mpvx/actions/workflows/lint.yml)\n[![Build and Test](https://github.com/HackingGate/mpvx/actions/workflows/test-and-coverage.yml/badge.svg)](https://github.com/HackingGate/mpvx/actions/workflows/test-and-coverage.yml)\n[![codecov](https://codecov.io/gh/HackingGate/mpvx/graph/badge.svg?token=TVGJ0H9CTZ)](https://codecov.io/gh/HackingGate/mpvx)\n[![Release](https://github.com/HackingGate/mpvx/workflows/Release/badge.svg)](https://github.com/HackingGate/mpvx/releases)\n\nMac app for mpv inspired by [grsyncx](https://github.com/username0x0a/grsyncx)\n\n## Requirements\n\n### mpv Homebrew Installation (Recommended)\n\nInstall the command-line interface mpv with [Homebrew](https://brew.sh).\n\n```bash\nbrew install mpv\n```\n\nThe mpvx app will automatically check the following paths, which means it supports both Apple Silicon and Intel:\n\n```text\n/opt/homebrew/bin/mpv\n/usr/local/bin/mpv\n```\n\n### Standalone mpv Executable\n\nYou can specify the `--mpvx-mpv-binary-path=` argument to indicate the mpv executable you'd like to use. For example:\n\n```bash\n/Applications/mpvx.app/Contents/MacOS/mpvx --mpvx-mpv-binary-path=/Applications/mpv.app/Contents/MacOS/mpv\n```\n\n## Screenshot\n\n![mpvx-demo.png](https://raw.githubusercontent.com/HackingGate/mpvx/master/assets/mpvx-demo.png)\n\n## Why Not IINA\n\n[IINA](https://iina.io) is a wrapper of [mpv player](https://mpv.io) with lots of features implemented.\n\nI found an issue with IINA. Key control like `.` (step forward) or `,` (step backward) do not support consecutive presses, which is an important feature to me.\n\nI investigated the [source code of IINA](https://github.com/iina/iina) and learned how to support consecutive presses. Use `int mpv_command(mpv_handle *ctx, const char **args);` instead of the more error-prone way `int mpv_command_string(mpv_handle *ctx, const char *args);` and pass commands with `keyDown` and `keyUp` events to achieve this.\n\nYou can have look at [the PR](https://github.com/typcn/bilibili-mac-client/pull/163/files) I created for [bilibili-mac-client](https://github.com/typcn/bilibili-mac-client) years ago for how to implement both `keyDown` and `keyUp` event.\n\nHowever, IINA has its own layer of key management, which means it requires a lot of work to implement that I don't have time to do.\n\nThat is why I created this simpler project that handles media resource opening and launches vanilla mpv from the Homebrew formula.\n\n## Looking for iOS?\n\n[Outplayer](https://outplayer.app/) by Stephen Salerno: video player for iOS powered by mpv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackinggate%2Fmpvx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackinggate%2Fmpvx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackinggate%2Fmpvx/lists"}