witnessmenow / spotify-api-arduino

Arduino library for integrating with the Spotify Web-API (Does not play music)
MIT License
180 stars 33 forks source link

ESPmDNS not working solution #10

Closed krulkip closed 1 year ago

krulkip commented 4 years ago

In the getRefreshToken.ino file Add following line in declarations const char* mdnsName = "ESPotify"; // Domain name for the mDNS responder

replace: if (MDNS.begin("esp32")) { Serial.println("MDNS responder started"); } with: if (MDNS.begin(mdnsName)) { // start the multicast domain name server Serial.print("mDNS responder started: http://"); Serial.print(mdnsName); Serial.println(".local"); }

And of course change the myDashboard in the spotify for developers page

witnessmenow commented 3 years ago

The above doesn't really change anything ,it just moves the string to a different piece of memory.

I have opened a issue with ESP32 to see whats up with it.

https://github.com/espressif/arduino-esp32/issues/5446

witnessmenow commented 1 year ago

I think this is a me problem, not related to this library