fardog / node-chromecast-osx-audio

Stream OS X audio input to a local Chromecast device.
MIT License
90 stars 16 forks source link

I shouldn't have to call this as a binary to be able to use it in another node script. #7

Open danjenkins opened 8 years ago

danjenkins commented 8 years ago

Please enable people to just include this module and be able to list devices or start streaming media without having to call this as a binary.

the CLI doesn't have to be the main entry point into the module. I know I could include the underlying castv2-client module but then I'd be repeating code.

jamesmorgan commented 8 years ago

:+1: I would also like this functionality, that would be great!

danjenkins commented 8 years ago

The thing I didn't think about at the time is that this library needs to use 0.10 and so if you were to include this as a require, you'd need to run your project on 0.10 which is kinda bad in terms of progress. Something to think about

jamesmorgan commented 8 years ago

Ye its a real shame, webcast-osx-audio and in-particular osx-audio - https://github.com/fardog/node-osx-audio are the restriction I believe, its just a shame I don't know how to upgrade the osx-audio project.