Adjust zeroconf manifest for properties filter (#1159)

This commit is contained in:
J. Nick Koston 2021-12-19 06:32:58 -06:00 committed by GitHub
parent 38b3b85f22
commit 9e156bab3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,19 +132,19 @@ 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 (`name`), MAC address (`macaddress`), or Manufacturer (`manufacturer`) 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`), or Properties (`properties`) filter:
```json ```json
{ {
"zeroconf": [ "zeroconf": [
{"type":"_axis-video._tcp.local.","macaddress":"00408C*"}, {"type":"_axis-video._tcp.local.","properties":{"macaddress":"00408c*"}},
{"type":"_axis-video._tcp.local.","name":"example*"}, {"type":"_axis-video._tcp.local.","name":"example*"},
{"type":"_airplay._tcp.local.","manufacturer":"samsung*"}, {"type":"_airplay._tcp.local.","properties":{"am":"audioaccessory*"}},
] ]
} }
``` ```
Note that the `name` and `manufacturer` filters should be all lowercase and the `macaddress` filter should be all uppercase. Note that all values in the `properties` filters must be lowercase, and may contain a fnmatch type wildcard.
## SSDP ## SSDP