Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caspar-cg

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caspar-cg

Caspar CG to Node interface

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
43
increased by65.38%
Maintainers
1
Weekly downloads
 
Created
Source

CasparCG to Node interface

Build Status

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 release

Install

npm install caspar-cg

Usage 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");
});

Breaking Changelog

v0.0.5-5

Socket errors are now emitted as connectionError instead of error.

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

FAQs

Package last updated on 17 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc