-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I have this code:
var chromecast = require('chromecast')();
chromecast.discover();
chromecast.on('device', function(device){
// device is the chromecast device
console.log('discovered', device)
device.launch('YouTube', {
v: 'cKG5HDyTW8o'
});
});discovered Device {
location: 'http://172.20.10.5:8008/ssdp/device-desc.xml',
applicationUrl: 'http://172.20.10.5:8008/apps/',
name: 'Chromecast8565',
model: 'Eureka Dongle',
info:
{ deviceType: 'urn:dial-multiscreen-org:device:dial:1',
friendlyName: 'Chromecast8565',
manufacturer: 'Google Inc.',
modelName: 'Eureka Dongle',
UDN: 'uuid:7d71fe6a-8d04-08dd-7a96-622d57b78c08',
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://172.20.10.5: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)
Metadata
Metadata
Assignees
Labels
No labels