Add manufacturer filter support to zeroconf (#877)

This commit is contained in:
J. Nick Koston 2021-04-08 09:03:20 -10:00 committed by GitHub
parent 693797f3c2
commit 9078f380c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,13 +130,14 @@ Zeroconf is a list so you can specify multiple types to match on.
} }
``` ```
Certain zeroconf types are very generic (i.e., `_printer._tcp.local.`, `_axis-video._tcp.local.` or `_http._tcp.local`). In such cases you should include a name or MAC address filter: Certain zeroconf types are very generic (i.e., `_printer._tcp.local.`, `_axis-video._tcp.local.` or `_http._tcp.local`). In such cases you should include a Name (`name`), MAC address (`macaddress`), or Manufacturer (`manufacturer`) filter:
```json ```json
{ {
"zeroconf": [ "zeroconf": [
{"type":"_axis-video._tcp.local.","macaddress":"00408C*"}, {"type":"_axis-video._tcp.local.","macaddress":"00408C*"},
{"type":"_axis-video._tcp.local.","name":"Example*"}, {"type":"_axis-video._tcp.local.","name":"example*"},
{"type":"_airplay._tcp.local.","manufacturer":"samsung*"},
] ]
} }
``` ```