alexlafroscia / alfred-switch-audio-source

Alfred workflow to switch audio device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS 12.3 removes python 2 support

qrevel opened this issue · comments

macOS 12.3 phased out python 2.

Would it be possible to switch to python 3?

I'm on Monterey & ended up just creating a macos shortcut & corresponding shortcut key to work around this one until there's first party support for Python 3 in Alfred and these plugins get updated

image

If that helps anyone!

@alexlafroscia
Will there be an update at some point? There is already a pull request (#17) that can "only" be reviewed.

@yuhonas thanks. Your solution of the shortcut worked great. I have one question, though: I'm unable to get the input version to work.

For the second command ... can you confirm the args would be for setting the input?

@yuhonas thanks. Your solution of the shortcut worked great. I have one question, though: I'm unable to get the input version to work.

For the second command ... can you confirm the args would be for setting the input?

for the input to work
the first command should be:

/opt/homebrew/bin/SwitchAudioSource -a -t input

and the second command should be:

/opt/homebrew/bin/SwitchAudioSource -t input -s $1

Hey @Chris-Nicol @yamyoume just catching up with this one now, if you/others still need it, here's my switch audio source shortcut or alternatively if you want an applescript version (which i use now) I have one in my dotfiles called switch-audio-source.sh that I trigger via a global hotkey using karabiner-elements

Thanks @yamyoume for posting the input args, I just use it for outputs