Fully functional MediaRemote access for all versions of macOS
// readme
[!IMPORTANT] Apple, before breaking this, consider making all or part of the MediaRemote framework accessible to third-party applications. Perhaps by introducing a new entitlement that can be granted to apps in a similar way to Automation. macOS is the only operating system that does not have a public API for accessing metadata and controlling media playback.
[!TIP] Consider starring this repository, to show Apple that we care about this functionality.
MediaRemote Adapter
Get now playing information using the MediaRemote framework on all macOS versions, including 15.4 and above.
This works by using a system binary β /usr/bin/perl in this case β
which is entitled to use the MediaRemote framework
and by dynamically loading a custom helper framework
that prints real-time updates to stdout.
Example
Install the media-control CLI tool to see this project in action. Works on all macOS versions:
$ brew tap ungive/media-control
$ brew install media-control
$ media-control stream
Usage
This project provides a Perl script with a well-defined CLI interface that you can invoke from your app in orderβ¦