Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

player.status always get undefined #22

Open
minscof opened this issue Apr 28, 2016 · 1 comment
Open

player.status always get undefined #22

minscof opened this issue Apr 28, 2016 · 1 comment

Comments

@minscof
Copy link

minscof commented Apr 28, 2016

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 ?

@netzulo
Copy link

netzulo commented Aug 12, 2017

same here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants