I want to cast to my Nvidia Shield Tv and mkchromecast can't find it - well, most of the time it can't, but occasionally it works - even though pulseaudio-dlna, Chrome and VLC can find my Shield without problems.
OS: Fedora 31
mkchromecast - from source, master up-to-date
PyChromecast==4.2.3 (pip install -r requirements.txt in a virtualenv)
pychromecast.get_chromecasts(timeout=60) returns an empty list.
$ ./bin/mkchromecast
Mkchromecast v0.3.9
Creating Pulseaudio Sink...
Open Pavucontrol and Select the Mkchromecast Sink.
Starting Local Streaming Server
[Done]
Selected backend: parec
Selected audio codec: mp3
Default bitrate used: 192k
Default sample rate used: 44100Hz.
PID of main process: 27068
PID of streaming process: 27077
* Serving Flask app "mkchromecast.audio" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://192.168.1.74:5000/ (Press CTRL+C to quit)
No devices found!
Cleaning up /tmp/...
[Done]
Killed
I want to cast to my Nvidia Shield Tv and mkchromecast can't find it - well, most of the time it can't, but occasionally it works - even though pulseaudio-dlna, Chrome and VLC can find my Shield without problems.
pip install -r requirements.txt
in a virtualenv)pychromecast.get_chromecasts(timeout=60)
returns an empty list.I ran the small program from https://github.com/muammar/mkchromecast/issues/301#issuecomment-613255664 from the python interpreter (no
time.sleep
) and waited, and after around 30s it printed:Mkchromecast just exits: