Open capaj opened 8 years ago
I got:
node chromecast.js discovered Device { location: 'http://192.168.1.71:8008/ssdp/device-desc.xml', applicationUrl: 'http://192.168.1.71:8008/apps/', name: 'Stua2', model: 'Eureka Dongle', info: { deviceType: 'urn:dial-multiscreen-org:device:dial:1', friendlyName: 'Stua2', manufacturer: 'Google Inc.', modelName: 'Eureka Dongle', UDN: 'uuid:f1d349f6-c8e4-ffe7-979d-a39266323421', iconList: { icon: [Object] }, serviceList: { service: [Object] } }, connectionUrl: [Function: connectionUrl] } rest.js: client.chain() is deprecated, use client.wrap() instead Potentially unhandled rejection [3] {"request":{"path":"http://192.168.1.71:8008/apps/YouTube","method":"POST","entity":{"v":"cKG5HDyTW8o"},"headers":{"Content-Type":"application/x-www-form-urlencoded.js","Accept":"application/x-www-form-urlencoded.js, application/json;q=0.8, text/plain;q=0.5, /;q=0.2"}},"error":"mime-unknown"} (WARNING: non-Error used)
This problem appears to be related to the dial
module included in this repo. A little investigation turns up this issue: https://github.com/iceddev/dial/issues/4
Looks like DIAL used to be used to discover Chromecasts, but is no longer functional. That may mean that discovery needs to be done in a different manner.
I have this code: