Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to mafinstosh/chromecasts #417

Merged
merged 1 commit into from Sep 2, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Switching to mafinstosh/chromecasts

  • Loading branch information
gillesdemey committed Aug 30, 2015
commit 3c6681724e285e627e440b9972938c0f72051658
@@ -427,14 +427,10 @@ function runDownload (torrentId) {
}

if (argv.chromecast) {
var chromecast = require('chromecast-js')
new chromecast.Browser()
.on('deviceOn', function (device) {
device.connect()
device.on('connected', function () {
device.play(href)
})
})
var chromecasts = require('chromecasts')()
chromecasts.on('update', function (player) {
player.play(href)
})
}

if (argv.xbmc) {
@@ -95,7 +95,7 @@
"main": "index.js",
"optionalDependencies": {
"airplay-js": "^0.2.3",
"chromecast-js": "^0.1.4",
"chromecasts": "^1.5.3",
"nodebmc": "0.0.5"
},
"repository": {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.