Skip to content

chromecast

Finally this seems like a solution...

tldr;

  • preparation with chromecastize
  • play with castnow

chromecastize

This is a simple shell script called chromecastize.sh Download it from here : visit

install it in ~/bin, and run it on your videos like this:

convert
chromecastize.sh yourvid.xxx

It will convert that video, or say it will work as is. The former format will be save as .bak file. Save both if you want, but i like to put most converted files om ~/castable.

castnow

Later, it works rather well with chromecastize.sh converted files. remember to shutdown docker since it interferes with castnow a lot.

To find your device :

find device
1
2
3
4
5
6
arp -a 
Chromecast.fritz.box (192.168.2.80) at 14:c1:4e:09:e5:ab [ether] on wlp64s0
servert1 (192.168.2.67) at 10:60:4b:96:e7:88 [ether] on wlp64s0
fritz.box (192.168.2.254) at 9c:c7:a6:c7:cc:f8 [ether] on wlp64s0
hoek.fritz.box (192.168.2.45) at 40:8d:5c:ca:76:fc [ether] on wlp64s0
Chromecast.fritz.box (192.168.2.21) at 54:60:09:06:1c:36 [ether] on wlp64s0

Now you still don't know which one it is, but it narrows it down to 2. Since --device just does not work, maybe castnow --address will work :

pass address
castnow --address 192.168.2.80 01.Xmen.mp4 # runs on slaapkamer
castnow --address 192.168.2.21 01.Xmen.mp4 # runs on living room

catt

Note, i use this now because it is much more stable.

play command
catt cast 01.Xmen.mp4 -d 192.168.2.80
catt cast 01.Xmen.mp4 -d Slaapkamer
list devices
catt scan
Scanning Chromecasts...
192.168.1.158 - Slaapkamer - Google Inc. Chromecast

Setting the default device

set default device
catt -d Slaapkamer set_default