Skip to content

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

@Sigafoos

Description

@Sigafoos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions