mafintosh/chromecasts

player.status always get undefined

Opened this issue · 1 comments

I can't get the player.status method working : I always get undefined

This is the code I use :

chromecasts.update() chromecasts.on('update', function (player) { console.log('player on : ', player) setTimeout(function() { player.status(function (err,data) { if (err) return console.error(err); console.log('status=',data); }) }, 1000) player.on('status', function (status) { console.log('status of player : ', status) }) })

can you help me ?

same here...