3 ms·
> ip=$(dig +short chromecast.lan | tail -n 1) This line requires some mdns server setup I believe. I didn't like running avahi and thought there should be som
by Foxboron 6y ago
> ip=$(dig +short chromecast.lan | tail -n 1)
This line requires some mdns server setup I believe. I didn't like running avahi and thought there should be some super simple client for this, but after searching I didn't find anything.
I wrote up 10 lines of go which spits out chromecast devices as json and use jq to get the appropriate IP. Works quit well and now I have a fairly seemless way to play videos to my chromecast from qutebrowser.
https://github.com/Foxboron/mdns https://github.com/Foxboron/mdns