π Introduction
A command-line wrapper for sending macOS system media keys to whichever player is active.
media-keys sends the same system media key events as your keyboard's play, skip and seek keys, so any script, shortcut or terminal session can control Music, Qobuz, Spotify or whatever else is currently listening. It is a thin layer over the @kud/macos-media-keys library.
What's here
- ποΈ Commands β the five subcommands, what each key does and how invalid input is handled
- π Permissions and scripting β the Accessibility requirement, exit codes and using
media-keysfrom scripts