pkg.soopen package index

brew / 排名 2936

使用 Homebrew 安装 media-control

查看 media-control 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install media-control

local Homebrew formula metadata

概览

软件包摘要

Control and observe media playback from the command-line

命令和别名

  • media-control

历史

项目历史与用法

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.

时间线

  • 2025: v0.5.1 tag appears in the official repository.
  • 2025: v0.7.0 tag starts the 0.7 release line.
  • 2026: v0.7.6 is released with streamed artwork MIME type support.

Related projects

  • mediaremote-adapter, xbar, Spotify, jq, macOS MediaRemote.

安全态势

尚未找到受保护工具覆盖

没有找到 media-control 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
media-controlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.7.6
管理器更新时间2026-05-11
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/ungive/media-control

安装元数据

软件包元数据

软件包键brew:media-control
版本0.7.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/media-control
主页https://github.com/ungive/media-control
仓库https://github.com/ungive/media-control
许可证BSD-3-Clause
源码归档https://github.com/ungive/media-control.git
最后更新2026-05-11T16:09:36Z
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemedia-control
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation