paulsri Posted December 31, 2016 Share Posted December 31, 2016 Since getting the AirPods, I wanted to be able to switch between them and the default audio device(s) with Alfred. And I wanted to change both the input and output devices to the AirPods and back. e.g. avoiding the state of input = Built-in Microphone, while output = AirPods. Usage is pretty simple with the default being to enable the AirPods: airpods or airpods on or airpods blah and to disable the AirPods or revert back: airpods off More detailed setup and configuration as well as dependencies and code are here: https://github.com/paulsri/alfred-airpods-selector jarhead and seanrwcrawford 2 Link to comment
flome Posted March 11, 2017 Share Posted March 11, 2017 Just got some of these bad boys. Works well, and thanks! Link to comment
DJay Posted September 21, 2017 Share Posted September 21, 2017 Unfortunately with macOS 10.12 High Sierra, it didn't work for me. The command SwitchAudioSource -a didn't show my AirPods. Just editing the workflow of course was also not working. :/ Link to comment
paulsri Posted September 21, 2017 Author Share Posted September 21, 2017 1 hour ago, DJay said: Unfortunately with macOS 10.12 High Sierra, it didn't work for me. The command SwitchAudioSource -a didn't show my AirPods. Just editing the workflow of course was also not working. :/ Thanks for the update, DJay. I haven't upgraded to 10.13 yet, so I can't say for sure. You could try upgrading the switchaudio-osx package via brew: https://github.com/deweller/switchaudio-osx Though I'm not sure if that has been tested with 10.13 yet. DJay 1 Link to comment
jayphen Posted November 21, 2017 Share Posted November 21, 2017 `SwitchAudioSource -a` only reports the Airpods after they've been connected at least once since your Mac has been awake (or maybe there is a timeout, I haven't thoroughly tested). As a result, this workflow only works after having already connected the Airpods once. Is that the intended behaviour, or has this changed in 10.13? Link to comment
paulsri Posted November 21, 2017 Author Share Posted November 21, 2017 Hi jayphen, I haven't had that issue with the being awake, but I haven't tested in 10.13 so I can't say. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now