You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a device is advertising a service of type "_blah._http._tcp.local.", but I've set ServiceBrowser to filter for its supertype "_http._tcp.local.", then in
the type_, and info.type, are both the supertype "_http._tcp.local.", rather than the actual type of the service. IMO, the actual type ought to be accessible. A key point seems to be here: https://github.com/jstasiak/python-zeroconf/blob/7430ce1c462be0dd210712b4f7b3675efd3a6963/zeroconf/_services/browser.py#L355
wherein the actual type is split into a list of it and its supertypes, I guess? Probably then there's something that filters the resulting events, and only the one keyed to the supertype succeeds.
Desired result: get_service_info ought to include the actual type of the service, and possibly type_ in add_service et al. ought to be the actual type, too, though I'm less convinced of that.
The text was updated successfully, but these errors were encountered:
If a device is advertising a service of type "_blah._http._tcp.local.", but I've set
ServiceBrowser
to filter for its supertype "_http._tcp.local.", then inthe
type_
, andinfo.type
, are both the supertype "_http._tcp.local.", rather than the actual type of the service. IMO, the actual type ought to be accessible. A key point seems to be here:https://github.com/jstasiak/python-zeroconf/blob/7430ce1c462be0dd210712b4f7b3675efd3a6963/zeroconf/_services/browser.py#L355
wherein the actual type is split into a list of it and its supertypes, I guess? Probably then there's something that filters the resulting events, and only the one keyed to the supertype succeeds.
Desired result:
get_service_info
ought to include the actual type of the service, and possiblytype_
inadd_service
et al. ought to be the actual type, too, though I'm less convinced of that.The text was updated successfully, but these errors were encountered: