Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command not found: SwitchAudioSource #2

Open
nikhilmaddirala opened this issue Apr 19, 2023 · 2 comments
Open

Command not found: SwitchAudioSource #2

nikhilmaddirala opened this issue Apr 19, 2023 · 2 comments

Comments

@nikhilmaddirala
Copy link

Hi, any idea why I might be getting this error? Per this instructions I've successfully run brew install switchaudio-osx jq. Thanks in advance!

[13:17:05.109] SwitchAudio[Script Filter] Queuing argument '(null)'
[13:17:05.155] SwitchAudio[Script Filter] Script with argv '(null)' finished
[13:17:05.157] STDERR: SwitchAudio[Script Filter] /Users/nikhilmaddirala/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/26C6C0A8-4CC4-4040-9C40-CBCC6FB383F1:3: command not found: SwitchAudioSource
[13:17:05.161] SwitchAudio[Script Filter] {
  "items": []
}
@dkarter
Copy link
Owner

dkarter commented Apr 20, 2023

mm can you check if this command runs in your terminal?

SwitchAudioSource -a -t output -f json

Then if you see some output try

SwitchAudioSource -a -t output -f json | jq

It should be the same output, but with colors and nicely formatted.

If not, maybe Homebrew is not installed correctly.

@nikhilmaddirala
Copy link
Author

Yes, I can see the output in my terminal, but unfortunately I still get the same error in Alfred!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants