# Install media-control with Homebrew

Control and observe media playback from the command-line. Version 0.7.6 via Homebrew; verified 2026-05-11.

## Install

```sh
sudo av install brew:media-control
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install media-control
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:media-control
- **Package manager:** Homebrew
- **Version:** 0.7.6
- **Source summary:** Control and observe media playback from the command-line
- **Homepage:** <https://github.com/ungive/media-control>
- **Repository:** <https://github.com/ungive/media-control>
- **Last updated:** 2026-05-11T16:09:36Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- media-control (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.7.6
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <https://github.com/ungive/media-control#readme>
- <https://github.com/ungive/media-control/releases>
- <https://github.com/ungive/media-control/tags>


## Security Notes

No matching local secret-handling manifest was found for media-control. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Combined YAML source

View the package source record on GitHub. [combined/media-control.yml](https://github.com/mxcl/pkgdb/blob/main/combined/media-control.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
