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

UIDs returned by -a don't work with -u #56

Open
Sigafoos opened this issue May 5, 2023 · 0 comments
Open

UIDs returned by -a don't work with -u #56

Sigafoos opened this issue May 5, 2023 · 0 comments

Comments

@Sigafoos
Copy link

Sigafoos commented May 5, 2023

The UIDs were added in #52 (and thank you for that!), but the UIDs being displayed don't seem to work when setting with -u:

❯ switchaudiosource -c -f json
{"name": "MacBook Pro Speakers", "type": "output", "id": "75", "uid": "BuiltInSpeakerDevice"}
❯ switchaudiosource -u BuiltInSpeakerDevice
Could not find an audio device with UID "BuiltInSpeakerDevice" of type output.  Nothing was changed.
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

1 participant