|
@@ -1,9 +1,23 @@
|
|
|
# AirAccept
|
|
# AirAccept
|
|
|
|
|
|
|
|
|
|
+Language: [English](README.md) | [繁體中文](README.zh-TW.md)
|
|
|
|
|
+
|
|
|
AirAccept is a small macOS menu bar app that watches for incoming AirPlay Receiver prompts and automatically presses `Accept` only when the prompt clearly matches an AirPlay request.
|
|
AirAccept is a small macOS menu bar app that watches for incoming AirPlay Receiver prompts and automatically presses `Accept` only when the prompt clearly matches an AirPlay request.
|
|
|
|
|
|
|
|
It is intended for a Mac that already has the built-in AirPlay Receiver enabled in System Settings.
|
|
It is intended for a Mac that already has the built-in AirPlay Receiver enabled in System Settings.
|
|
|
|
|
|
|
|
|
|
+## Why This Exists
|
|
|
|
|
+
|
|
|
|
|
+macOS can use a Mac as an AirPlay Receiver, and System Settings lets you choose who can AirPlay to it:
|
|
|
|
|
+
|
|
|
|
|
+- Current User
|
|
|
|
|
+- Anyone on the Same Network
|
|
|
|
|
+- Everyone
|
|
|
|
|
+
|
|
|
|
|
+In practice, even when AirPlay Receiver is enabled and `Allow AirPlay for` is set to `Anyone on the Same Network` or `Everyone`, macOS can still show an incoming AirPlay prompt that must be manually accepted before playback starts.
|
|
|
|
|
+
|
|
|
|
|
+AirAccept exists for Macs that are used as always-available AirPlay receivers, media machines, or headless/remote systems where manually clicking `Accept` every time is inconvenient.
|
|
|
|
|
+
|
|
|
## Requirements
|
|
## Requirements
|
|
|
|
|
|
|
|
- macOS Sequoia 15 or Tahoe 26
|
|
- macOS Sequoia 15 or Tahoe 26
|
|
@@ -12,6 +26,13 @@ It is intended for a Mac that already has the built-in AirPlay Receiver enabled
|
|
|
|
|
|
|
|
AirAccept does not require Screen Recording and does not use AppleScript/System Events automation.
|
|
AirAccept does not require Screen Recording and does not use AppleScript/System Events automation.
|
|
|
|
|
|
|
|
|
|
+Tested on:
|
|
|
|
|
+
|
|
|
|
|
+- macOS Tahoe 26.4.1
|
|
|
|
|
+- macOS Sequoia 15.7.7
|
|
|
|
|
+
|
|
|
|
|
+AirAccept uses macOS Accessibility APIs to inspect Notification Center. It should continue working as long as Apple keeps the AirPlay prompt exposed in a similar Accessibility structure, but it is not guaranteed across every macOS release.
|
|
|
|
|
+
|
|
|
## Build
|
|
## Build
|
|
|
|
|
|
|
|
```sh
|
|
```sh
|
|
@@ -46,7 +67,8 @@ You can move that app bundle to `/Applications` after building. Keeping the app
|
|
|
1. Launch `build/AirAccept.app`.
|
|
1. Launch `build/AirAccept.app`.
|
|
|
2. Use the menu bar item `AirAccept` -> `Request Accessibility Permission`.
|
|
2. Use the menu bar item `AirAccept` -> `Request Accessibility Permission`.
|
|
|
3. In System Settings, allow AirAccept under Privacy & Security -> Accessibility.
|
|
3. In System Settings, allow AirAccept under Privacy & Security -> Accessibility.
|
|
|
-4. Quit and reopen AirAccept if macOS does not apply the permission immediately.
|
|
|
|
|
|
|
+4. Optional: enable `AirAccept` -> `Launch at Login` if you want it to start automatically when you sign in.
|
|
|
|
|
+5. Quit and reopen AirAccept if macOS does not apply the permission immediately.
|
|
|
|
|
|
|
|
To confirm it launched, check the log:
|
|
To confirm it launched, check the log:
|
|
|
|
|
|