Open mitchnemirov opened 2 years ago
Even if that worked, nothing else would, see #44. This entire package needs a full rewrite, and currently, I really don't see that happening anytime soon :/
I found another project that had functions setup to read chromecast info (status, ip/mac addresses, etc) and they have instructions for getting authentication setup for the new auth flow Google pushed out (Link: https://github.com/rithvikvibhu/GHLocalApi/issues/39).
I understand the sentiment though. No worries here, I haven't taken the time to get auth working with the other tool either as I've done another form of Chromecast testing to troubleshoot issues at work.
Describe the bug When attempting to run
googledevices scan-network
(or even any of the other network-fetching related options) I get the error below. It appears to be due to how the ipaddress Python module handles IP addresses with host bits when "strict" is set to True.See the following for the ipaddress python documentation: If strict is True and host bits are set in the supplied address, then ValueError is raised. Otherwise, the host bits are masked out to determine the appropriate network address.
Is there a way to set "strict" to False in the codebase where the ipaddress module is referenced? Or is there another way I can work-around this issue?
Error