Comments (10)
@xiota as far as I understand my issue is not related to connectivity, I can cast from chrome
and the same time catt
fails to find devices, catt
has never worked for me even once in my current setup. If anything, it has something to do with samsung tv device, which is too old or something like that.
from catt.
Tv has several ports open
$ nmap 192.168.1.2
Starting Nmap 7.80 ( https://nmap.org ) at 2022-12-11 22:40 +04
Nmap scan report for 192.168.1.2
Host is up (0.0088s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
8001/tcp open vcom-tunnel
8002/tcp open teradataordbms
8080/tcp open http-proxy
9080/tcp open glrpc
Nmap done: 1 IP address (1 host up) scanned in 0.23 seconds
What's my next step? How do I debug this?
from catt.
$ python3.10 -m netdisco
Discovered devices:
Discovered 0 devices
$ catt -d 192.168.1.2 scan
Scanning Chromecasts...
Error: No devices found.
$ catt -d 192.168.1.2 cast https://www.youtube.com/watch\?v\=dQw4w9WgXcQ
Error: No device found at 192.168.1.2.
from catt.
If you have one running, have you tried disabling a firewall on the host to ensure it isn't possibly blocking? I use firewalld in openSUSE and I have to allow some inbound ports for it all to work.
rule family="ipv4" source mac="<some chromecast dev mac addr>" port port="32768-60999" protocol="tcp" accept
rule family="ipv4" source mac="<some other chromecast mac addr>" port port="32768-60999" protocol="tcp" accept
rule family="ipv4" destination address="224.0.0.0/24" protocol value="udp" accept
from catt.
@sbradnick ubuntu seems to use ufw
by default and it's disabled for me. Chromium on the PC is able to find and cast to a tv, so my guess it's not a network issue.
$ sudo ufw status
Status: inactive
Is there a way to make a curl request to a TV and get info on whatever chromecast protocols available? Could it be just a older unsupported TV?
from catt.
catt
compiled from ddc5989 was previously working for me. Stopped working today. Recompiled with 82cd0fe. catt scan
intermittently has different outputs:
$ catt scan
Scanning Chromecasts...
Error: No devices found.
$ catt scan
Scanning Chromecasts...
Failed to determine cast type for host <unknown> (<urlopen error [Errno 113] No route to host>) (services:{ServiceInfo(type='mdns', data='SmartTV-4K-xxxxx._googlecast._tcp.local.')})
xxx.xxx.xxx.xxx - xxxxx - Unknown manufacturer SmartTV 4K
$ catt scan
Scanning Chromecasts...
xxx.xxx.xxx.xxx - xxxxx - Hisense SmartTV 4K
After power cycling the device (hold down the power button), catt
now seems to be working again. Scanning consistently finds the device.
from catt.
Seems like a problem with the device, if power-cycling fixes it...
from catt.
@skorokithakis Probably. Mentioned it so @diimpp and others who have connection problems can try ruling out glitches on the device itself. They're perpetually put in and out of sleep mode, and it seems a good ol' fashioned reboot is occasionally required.
Also, the error message Failed to determine cast type for host
may indicate where to look for other problems.
from catt.
I am having similar issues as well. Here are some details about mine, i am running W11 for clarity.
I can run catt scan
from my powershell console just fine, but when running in WSL or a docker container (with the net=host option) I just get Error: No devices found.
. What is interesting though is that when I run the above mentioned curl
command from WSL or the docker container, I can retrieve information about the device, so I know it is at least reachable...
What is very odd to me though is that when I first started trying to use catt, about a day or 2 ago, I had no issues running it in WSL or a docker container.
As far as I'm aware I did not update any local network settings, and havent changed anything at all within docker or WSL... so really not sure what is now causing me to not be able to scan for devices...
from catt.
Hi I am using version 0.12.10 and the scan sometimes doesn't show but after a minute or so it works again. It is very hit and miss.
Is there a command I can use to restart the catt process so it works consistently?
Other than that when it does work it works well.
from catt.
Related Issues (20)
- playlist not working
- Choose audio track when video contains multiple audio tracks
- Catt cast_site with automatic scrolling?
- [Feature Request] Give the option to transcode videos that are being casted on the fly.
- IP TV
- pychromecast v13 HOT 1
- [Feature request] Mute/Unmute feature HOT 4
- CATT stopped working(generated code out of date) post home assistant update with not resolution on rollback
- catt is not compatible with the latest release of Home Assistant (2023.5.0) HOT 3
- New pip package for latest changes HOT 7
- share an entire monitor?
- Casting to Google TV HOT 1
- Cant cast local files HOT 2
- Using `cast_site` to cast a HA dashboard to a Nest Hub. Command to change the view on the hub?
- Not able to cast local video file
- not working with Google Nest Audio Stereo Set
- Cast Local File in ChromeOS Crostini Linux VM: Not Working HOT 4
- Command "catt save" throws "KeyError: volume_level"
- Update catt package (0.12.11) on PyPI to match newest commit on Github HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catt.