Hello, i Have This error on "ubuntu 16 server" to 2 chromecasts ( google home mini and chromecast classic )
castnow volume step: 0.05 +0ms
castnow launching... +3ms
castnow:stdin [ { path: './adele.mp3' } ] +1ms
castnow:localfile started webserver on address 192.168.1.77 using port 4100 +13ms
castnow player status: loading plugins +1ms
castnow player status: scanning +1ms
castnow player status: connecting +18ms
castnow player status: launching +83ms
castnow player status: loading +1s
castnow:localfile incoming request serving ./adele.mp3 +464ms
castnow player error: Error: Load failed at /home/sebastien/.nvm/versions/node/v11.14.0/lib/node_modules/castnow/node_modules/chromecast-player/api.js:104:19 at fn.onmessage (/home/sebastien/.nvm/versions/node/v11.14.0/lib/node_modules/castnow/node_modules/castv2-client/lib/controllers/request-response.js:27:7) at fn.emit (events.js:198:15) at Channel.onmessage (/home/sebastien/.nvm/versions/node/v11.14.0/lib/node_modules/castnow/node_modules/castv2-client/lib/controllers/controller.js:16:10) at Channel.emit (events.js:193:13) at Client.onmessage (/home/sebastien/.nvm/versions/node/v11.14.0/lib/node_modules/castnow/node_modules/castv2/lib/channel.js:23:10) at Client.emit (events.js:198:15) at PacketStreamWrapper.onpacket (/home/sebastien/.nvm/versions/node/v11.14.0/lib/node_modules/castnow/node_modules/castv2/lib/client.js:81:10) at PacketStreamWrapper.emit (events.js:193:13) at TLSSocket. (/home/sebastien/.nvm/versions/node/v11.14.0/lib/node_modules/castnow/node_modules/castv2/lib/packet-stream-wrapper.js:28:16) +133ms
My test command :
DEBUG=castnow* castnow ./adele.mp3 --myip=192.168.1.77 --address=192.168.1.13
What i do :
sudo ufw allow 4100:4105/tcp
sudo ufw allow 4100:4105/udp
sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT
sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:4105 -j ACCEPT
Another test
Work correctly this "google-home-player" that use same dependance -> castv2-client
Hello, i Have This error on "ubuntu 16 server" to 2 chromecasts ( google home mini and chromecast classic )
My test command : DEBUG=castnow* castnow ./adele.mp3 --myip=192.168.1.77 --address=192.168.1.13
What i do : sudo ufw allow 4100:4105/tcp sudo ufw allow 4100:4105/udp sudo /sbin/iptables -A INPUT -p udp --dport 5353 -j ACCEPT sudo /sbin/iptables -A INPUT -p tcp --match multiport --dports 4100:4105 -j ACCEPT
Another test Work correctly this "google-home-player" that use same dependance -> castv2-client
if you have some idea, it was great !
Have a good day ! Sebastien