pranav-prakash / RokuCast

Cast videos from chrome to roku
180 stars 39 forks source link

New backend to support ssdp #9

Closed jacobEAdamson closed 6 years ago

jacobEAdamson commented 8 years ago

Hey, I like your addon, but I noticed you didn't have automatic detection of Roku devices. I took the liberty of building a chrome app that user would install that will automatically send out ssdp queries and keep track of what devices reply. I also built a extension/web side javascript library that you can use to get the current devices (just as simple as ssdp.GetDevices).

Let me know if you would like to see it or are interested in using it (I have a working demo that automatically streams twitch streams to the roku twitch app, where you can select which roku you want from a drop down menu)

pranav-prakash commented 8 years ago

Hmm this looks quite useful! When I get a chance I'll replace the manual ip entry with this.

Thanks!

joshtch commented 6 years ago

I wanted this feature, so I implemented it in my own fork. I'll submit a PR soon, but I did it by modifying options.html and scripts/options.js, using the example for reference. I also copied ssdp.js from jacobEAdamson/ssdp-chrome, though if the SSDP-Chrome API will not change, a direct link to the repo code would be better. (I made some other changes, too, which is why there are three commits.)

pranav-prakash commented 6 years ago

That's sweet! Thanks so much. I'll merge the PR

EDIT: Merged! Thank you once again!