Open bonelifer opened 1 year ago
This sometimes happens when go-chromecast
is looking on a different network interface than what the chromecast is connected to. Can you confirm that go-chromecast
has access to the network interface that the chromecast network is on? If so, you can try passing through an --iface
flag to help go-chromecast
discover the chromecast.
go-chromecast ls --iface 192.168.1.0/24? or go-chromecast ls --iface wlp3s0? Not sure of the format needed,
$ go-chromecast ls --iface wlp3s0
is the correct format. Does that work for you?
No. It is the correct device from the ip a
command
The other thing would be to check if you have any firewall rules setup on Xubuntu that might be dropping the traffic. go-chromecast
uses mDNS to discover devices on the network. I don't have an ubuntu to try, but according to https://superuser.com/questions/1453910/linux-command-to-get-mdns-service-discovery-and-to-get-its-ip-address there is a tool to check for mDNS, go-chomrecast
uses _googlecast._tcp
to try and discover the IP address.
I have somewhat similar issue. The app does not see my "Chromecast with Google TV" device. But it sees my "Google Nest Mini" device ok.
I have tried to use https://github.com/home-assistant-libs/pychromecast, and it sees both my devices without problem.
Xubuntu 22.04 go version go1.19 linux/amd64 latest version from releases: go-chromecast_0.3.1_linux_amd64.tar.gz
My Pixel 3xl is able to see and interface with the Chromecast with Google TV.