rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
667 stars 73 forks source link

play sound from network (http) #311

Closed NisseDILLIGAF closed 3 years ago

NisseDILLIGAF commented 3 years ago

https://github.com/rand256/valetudo/blob/6d930ca271bfb192bd8b24e9239b4b0d8da4fe73/lib/MqttClient.js#L656

Would be nice to be able to play sounds hosted on local network or web Allowing http files at the moment I just skip the fs.existsSync if (msg.file) {

edit: And a big thanx to rand256, and all that's contributing to valetudo!! :)

rand256 commented 3 years ago

I didn't personally tried that, but I think it should be quiet simple to check for file existence only for uart_test and allow network locations for sox.