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

'Chromecast' object has no attribute 'socket_client' #83

Closed
cburmeister opened this issue Mar 23, 2016 · 2 comments
Closed

'Chromecast' object has no attribute 'socket_client' #83

cburmeister opened this issue Mar 23, 2016 · 2 comments

Comments

@cburmeister
Copy link

When trying to access a Chromecast that isn't plugged in via
pychromecast.Chromecast(ip) i'm getting an AttributeError:

Exception AttributeError: "'Chromecast' object has no attribute 'socket_client'" in <bound method Chromecast.__del__ of Chromecast('10.0.0.5', port=8009, device=None)> ignored
@techbliss
Copy link

yes i am getting the same on the other issue #81

@cburmeister
Copy link
Author

Fixed by calling Chromecast.disconnect():

https://github.com/balloob/pychromecast/blob/master/pychromecast/__init__.py#L381

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