https://github.com/gvellut/airplay_no_way
Background utility for macOS to revert audio device on AirPlay connection
https://github.com/gvellut/airplay_no_way
airplay audio macos vibecoded
Last synced: about 2 months ago
JSON representation
Background utility for macOS to revert audio device on AirPlay connection
- Host: GitHub
- URL: https://github.com/gvellut/airplay_no_way
- Owner: gvellut
- License: gpl-3.0
- Created: 2025-09-15T16:59:40.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-09-21T10:46:54.000Z (10 months ago)
- Last Synced: 2025-09-28T02:53:06.143Z (9 months ago)
- Topics: airplay, audio, macos, vibecoded
- Language: Swift
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AirPlay!? No Way! (AudioMonitor)
*AirPlay!? No Way!* is a macOS utility that monitors audio devices and can revert audio output when AirPlay devices are connected (instead of set to the newly connected AirPlay device).
## Purpose
- Monitors system audio device changes.
- Automatically reverts audio output to the previous device when AirPlay connects.
- Includes a launcher and a helper for background monitoring.
## Build
Prerequisites:
- *XCode* or *XCode Command-Line Tools*. For the tools, run `xcode-select --install` in the terminal . Among other things, this will install the Swift command-line compiler. Type `swift –version` in the terminal to check if it was installed correctly. Version 5.9 of the Swift tools is currently used (but a later version should be fine).
- The build process uses a code signing certificate named `My Swift Dev Cert` (by default). If you already have a code signing certificate (official Apple or self-signed), you can update the name in `app_config.env`, variable `SIGNING_CERT`. If you do not have a signing certificate, you need to create one in your Keychain. Follow [How to create code signing certificate in macOS](https://www.simplified.guide/macos/keychain-cert-code-signing-create) for a quick walkthrough of creating a self-signed certificate (for local use).
To build the application, run:
```sh
make
```
## Install
To install the app to your `~/Applications` folder:
```sh
make install
```
After installation, run the app once from your `~/Applications` folder to activate the background service. Manage in *Login Items > Allow in the Background*. The tool will be called **AudioMonitor**.
## Uninstall
To remove the app and disable the helper:
```sh
make uninstall
```
## Note
Log with `console.app` or in command-line:
`log stream --debug --info --predicate "subsystem = 'com.user.audiomonitor'"`