macOS
brew install media-controllocal Homebrew formula metadata
安装
brew install media-controllocal Homebrew formula metadata
概览
Control and observe media playback from the command-line
历史
media-control is a macOS command-line utility for observing and controlling media playback. Its README describes one-shot now-playing queries, real-time streams, and playback actions such as toggling play and pause.
The official repository is a compact CMake-based project with a `mediaremote-adapter` submodule. Public tags and releases show active versioned releases from at least v0.5.1 in July 2025 through v0.7.6 in May 2026.
The README states that the tool is available for all macOS versions, including macOS Tahoe, and centers the project around scriptable access to now-playing state, artwork, playback position, and transport controls.
The README's primary installation path is Homebrew, using `brew install media-control`. It also includes advanced examples such as xbar menu-bar integration and shell pipelines for saving cover artwork, which is a strong signal that the project is meant for everyday automation rather than only library embedding.
Common commands include `media-control get` for one-time now-playing information, `media-control get -h` for human-readable output, `media-control stream` for real-time updates, and `media-control toggle-play-pause` for playback control. Examples also cover extracting artwork data, watching song changes, tracking timeline position, and pausing when a track ends.
For package-manager users, media-control is a tidy macOS automation bridge: a single CLI wraps media playback state that would otherwise require private frameworks or app-specific scripting. That makes it useful in status bars, shell scripts, and lightweight desktop automation.
安全态势
没有找到 media-control 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
media-control | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:media-control |
|---|---|
| 版本 | 0.7.6 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/ungive/media-control |
| 仓库 | https://github.com/ungive/media-control |
| 最后更新 | 2026-05-11T16:09:36Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.