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

'pychromecast' has no attribute 'get_chromecast' #16

Open
PowaBanga opened this issue Oct 24, 2021 · 1 comment
Open

'pychromecast' has no attribute 'get_chromecast' #16

PowaBanga opened this issue Oct 24, 2021 · 1 comment

Comments

@PowaBanga
Copy link

Hi everybody,
it seem that the plugin do not work for me...

Traceback (most recent call last):
  File "/home/powabanga/.local/share/rhythmbox/plugins/chromecast/Chromecast.py", line 33, in do_activate
    self.source.setup()
  File "/home/powabanga/.local/share/rhythmbox/plugins/chromecast/ChromecastSource.py", line 49, in setup
    self.chromecast = pychromecast.get_chromecast(friendly_name=Prefs.chromecastName)
AttributeError: module 'pychromecast' has no attribute 'get_chromecast'

Does anybody can help me to fix that ?

@KeizerDev
Copy link
Owner

KeizerDev commented Oct 25, 2021

Thanks for your interest in this project. I think you are using a newer version of the pychromecast library then initially was used when developing. I don't know the exact requirements anymore but you should find it in some release of pychromecast. Search for a version that uses get_chromecast and then install that version using pip. I hope this will solve your issue!

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