0.1.0 • Published 10 years ago
caspar-cg v0.1.0
CasparCG to Node interface
This project is early in development and API may change. The query, playout, data and template commands are mostly finished and I will be adding more as I need them. If you need something that is missing add an issue.
For now docs are in the source only. I will be moving them to github pages at some point.
Road Map
0.1 - Implement the entire AMCP Protocol
0.2 - First stable release
0.3 - Add events for all commands and channel/layer status by polling
0.4 - Stable releaseInstall
npm install caspar-cgUsage Example
var CasparCG = require("caspar-cg");
ccg = new CasparCG("localhost", 5250);
ccg.connect(function () {
	ccg.info(function (err, serverInfo) {
		console.log(serverInfo);
	});
	ccg.play("1-1", "AMB");
	setTimeout(function () {
		ccg.clear("1");
		ccg.disconnect();
	}, 10 * 1000);
});
ccg.on("connected", function () {
	console.log("Connected");
});Changelog
v0.0.9
- Fix infoparsing error when parsingimage-producerdata
v0.0.8
- Adds resume
- Adds swap
- Adds print
- Adds logLevel
v0.0.7
- Adds mixerFillto move and resize layers
v0.0.6
ccg.info() now parses layers and returns a much more predictable result.
- Layers is always an array
- Numbers and Booleans are parsed (all values were strings before)
- Parameters with -and_are replaced with cammel case
- Inconsistent parameters are renamed
v0.0.5-5
Socket errors are now emitted as connectionError instead of error.
0.1.0
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7-1
10 years ago
0.0.7
10 years ago
0.0.6-5
10 years ago
0.0.6-4
12 years ago
0.0.6-3
12 years ago
0.0.6-2
12 years ago
0.0.6-1
13 years ago
0.0.6
13 years ago
0.0.5-5
13 years ago
0.0.5-4
13 years ago
0.0.5-3
13 years ago
0.0.5-2
13 years ago
0.0.5-1
13 years ago
0.0.5
13 years ago
0.0.4
13 years ago
0.0.3
13 years ago
0.0.2
13 years ago
0.0.1
13 years ago
