castv2-client
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -36,7 +36,7 @@ var util = require('util'); | ||
ReceiverController.prototype.getAppAvailability = function(appId, callback) { | ||
var data = { | ||
type: 'GET_APP_AVAILABILITY', | ||
var data = { | ||
type: 'GET_APP_AVAILABILITY', | ||
appId: Array.isArray(appId) ? appId : [appId] | ||
}; | ||
this.request(data, function(err, response) { | ||
@@ -63,5 +63,5 @@ if(err) return callback(err); | ||
ReceiverController.prototype.setVolume = function(volume, callback) { | ||
var data = { | ||
type: 'SET_VOLUME', | ||
volume: volume | ||
var data = { | ||
type: 'SET_VOLUME', | ||
volume: {level: volume} | ||
}; | ||
@@ -89,2 +89,2 @@ | ||
module.exports = ReceiverController; | ||
module.exports = ReceiverController; |
{ | ||
"name": "castv2-client", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A Chromecast client based on the new (CASTV2) protocol", | ||
@@ -5,0 +5,0 @@ "author": "thibauts", |
@@ -9,2 +9,4 @@ castv2-client | ||
For advanced use, like using [subtitles](https://github.com/thibauts/node-castv2-client/wiki/How-to-use-subtitles-with-the-DefaultMediaReceiver-app) with the DefaultMediaReceiver check the [wiki](https://github.com/thibauts/node-castv2-client/wiki). | ||
Installation | ||
@@ -98,1 +100,6 @@ ------------ | ||
``` | ||
Contributors | ||
------------ | ||
* [xat](https://github.com/xat) (Simon Kusterer) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23034
16
477
104