Skip to content

Add method to disable strict service name checking. #1046

@natedogith1

Description

@natedogith1

There's no way to specify that invalid names should be allowed when registering a service. I'm trying to register a service of "_oculusal_sp._tcp.local." (which is what the oculus quest 2 uses for airlinking), but I get an BadTypeInNameException error. For now I have a monkey-fix workaround of

zeroconf.service_type_name.__kwdefaults__['strict'] = False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions