use network manager events for AirPlay and Spotify

- split network_manager.h in two parts
- centralize mDNS
This commit is contained in:
Philippe G
2021-12-22 18:41:49 -08:00
parent d914e68a9b
commit dc1e258d64
12 changed files with 128 additions and 188 deletions

View File

@@ -59,8 +59,6 @@ void ZeroconfAuthenticator::registerZeroconf()
const char* service = "_spotify-connect._tcp";
#ifdef ESP_PLATFORM
mdns_init();
mdns_hostname_set("cspot");
mdns_txt_item_t serviceTxtData[3] = {
{"VERSION", "1.0"},
{"CPath", "/spotify_info"},