google-home-notifier
google-home-notifier copied to clipboard
Do we really need mdns lib?
It really makes the install kind of problematic... and if you npm install again you would need to do the change in the browser.js file again.
Instead of trying to resolve the DNS like that the user should be able to just use the IP adress of the Google Home. Makes things a lot easier in my opinion.
Agree!
a workaround for linux users is to put the fix in the npm package.json
file referencing the google-home-notifier.
The following seems to work for me:
"scripts": {
"postinstall": "sed -i -e 's/getaddrinfo()/getaddrinfo({families\\:\\[4\\]\\})/g' node_modules/mdns/lib/browser.js"
}