π Introduction
Publish Now Playing metadata to macOS Control Center and receive its media-button events, from Node.
macos-nowplaying-bridge lets a Node process show up in macOS Control Center as the thing that is playing, and hear back when someone presses play, pause, next or previous. It does the native work with a small Swift co-process, so your code stays plain TypeScript.
What's here
- π§ Usage β a walkthrough of a player wired up end to end, including artwork, seeking and clean-up
- π API reference β every export, field and event, with the exact behaviour of each
- βοΈ How it works β the Swift co-process, the app bundle, the stdio protocol and the first-run compile