pychromecast
pychromecast copied to clipboard
"[WinError 10049] The requested address is not valid in its context"
The only code I have written is
import pychromecast services, browser = pychromecast.discovery.discover_chromecasts()
and it returns this error every time. I haven't found any other issues related to this, and the chromecast I'm attempting to connect to is on the same network as the computer I'm running the script from. Anyone have any idea how I could fix this? All the dependency packages are installed.
I've seen the same thing lately. It's quite odd because code that works perfectly on one machine yet fails (with this error) on another. Both have a fresh install of Python 3.9 and are on the same network.
There is an issue with zeroconf 0.29.0 version, I've downgraded mine to 0.28.8 and it's working
Would it be possible to pin the zeroconf dependency to the minor tested version, so upgrades don't break downstream users?