npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

barco-eventmaster

v8.0.3-1

Published

Barco EventMaster JSON REST API wrapper

Downloads

55

Readme

Barco EventMaster REST API

Node.js wrapper module for Barco EventMaster REST API.

IMPORTANT! NOT ALL CALLS HAVE BEEN PROPERLY TESTED YET. USE AT OWN RISK. Everything should be pretty straight forward and working, though. Jinx.

Installation and usage example

Installation

npm install barco-eventmaster

Example

var EventMaster = require('barco-eventmaster');

// Change this ip to your own E2/S3 IP
var em = new EventMaster('10.0.0.1');

// Get all preset names
em.listPresets(-1, -1, function(err, presets) {
	if (err !== null) {
		console.log("Current presets");
		console.log(presets);
	}
	else {
		console.log(err);
		throw "Something went wrong with the event master request";
	}
});

return self;

Available API calls

Some of the calls have slightly modified variable names going into the function than the ones specified in the documentation to help out the editors with autocompletion/hints. Some of the API calls will also need further looking into documentation on formatting, due to their complexity, it would gain noone to implement this into this module.

All the API calls is also in comments in the module source code over each function declaration.

query(method, params, cb)
allTrans(type, params, cb)
cut(type, params, cb)
resetFrameSettings(resetKind, cb)
powerStatus(cb)
listPresets(ScreenDest, AuxDest, cb)
listDestinationsForPreset(presetId)
savePreset(
renamePresetById(presetId, newPresetName, cb)
renamePresetBySno(presetSno, newPresetName, cb)
renamePresetByName(presetName, newPresetName, cb)
activateSourceMainBackup(
activatePresetById(presetId, recallInProgramInt, type, params, cb)
activatePresetBySno(presetSno, recallInProgramInt, type, params, cb)
activatePresetByName(presetName, recallInProgramInt, type, params, cb)
recallNextPreset(cb)
deletePresetById(presetId, type, params, cb)
deletePresetBySno(presetSno, type, params, cb)
deletePresetByName(presetName, type, params, cb)
listDestinations(type, cb)
listSources(type, cb)
activateCueById(id, type, cb)
activateCueByCueName(cueName, type, cb)
activateCueByCueSerialNo(cueSerialNo, type, cb)
listCues(type, cb)
activateDestGroup(id, cb)
control3d(id, type, syncSource, syncInvert, cb)
listContent(id, cb)
listSuperDestContent(id, cb)
listSuperAuxContent(id, cb)
changeContent(screenDestIndex, bgLayer, Layers, cb)
freezeDestSource(type, id, screenGroup, mode, cb)
listStill(cb)
deleteStill(stillIndex, cb)
takeStill(type, id, fileid, cb)
getFrameSettings(cb)
listAuxContent(auxDestIndex, cb)
changeAuxContent(id, pvwLastSrcIndex, pgmLastSrcIndex, cb)
changeAuxContentName(id, name, pvwLastSrcIndex, pgmLastSrcIndex, cb)
subscribe(hostname, port, notificationTypes, cb)
unsubscribe(hostname, port, notificationTypes, cb)
armUnarmDestination(arm, screenDestinations, auxDestinations, cb)
fillHV(screenId, Layers, cb)
clearLayers(screenId, Layers, cb)
recallUserKey(userkeyName, ScreenDestination, Layer, cb)
listUserKeys(cb)
listSourceMainBackup(inputType, cb)
resetSourceMainBackup(source, cb)
listInputs(index, cb)
listOutputs(index, cb)
mvrLayoutChange(frameUnitId, mvrLayoutId, cb)
listOperators(cb)
configureOperator(params, cb)
changeAuxContentTestPattern(id, testPattern, cb)
changeContentTestPattern(id, testPattern, cb)
listDestGroups(cb)
listDestGroupsPerType(type, cb)

Author

William Viker [email protected]

Contributors

Jeffrey Davidsz [email protected]

Bugs or wishes

Please file a ticket or pull request in github if you find something that should be better. And, well, if something isn't working properly.