mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-14 18:23:39 +00:00
remove logging and commented code
This commit is contained in:
@@ -287,7 +287,6 @@ exports.data = function data(_device, oscData) {
|
||||
} else if (match(oscAddressParts, ['update', 'workspace', '*', 'dashboard'])) {
|
||||
// this workspace might be new, let's check
|
||||
if (device.data.workspaces[oscAddressParts[2]] === undefined) {
|
||||
console.log('new workspace!');
|
||||
device.send('/workspaces');
|
||||
}
|
||||
} else if (match(oscAddressParts, ['update', 'workspace', '*', 'cueList', '*', 'playbackPosition'])) {
|
||||
|
||||
@@ -26,7 +26,6 @@ exports.ready = function ready(device) {
|
||||
|
||||
const networkInterfaces = d.getNetworkInterfaces();
|
||||
|
||||
// device.draw();
|
||||
for (let i = 1; i <= 16; i++) {
|
||||
for (let j = 0; j < Object.keys(networkInterfaces).length; j++) {
|
||||
const networkInterfaceID = Object.keys(networkInterfaces)[j];
|
||||
@@ -117,7 +116,6 @@ exports.update = function update(_device, doc, updateType, updateData) {
|
||||
$code.textContent = 'RDM';
|
||||
}
|
||||
} else {
|
||||
// console.log('x');
|
||||
device.draw();
|
||||
device.update('elementCache');
|
||||
}
|
||||
|
||||
@@ -29,10 +29,6 @@ exports.ready = function ready(device) {
|
||||
d.data.stereoMute = 0;
|
||||
|
||||
d.send('/xinfo');
|
||||
|
||||
// device.send(Buffer.from("\x2f\x62\x61\x74\x63\x68\x73\x75\x62\x73\x63\x72\x69\x62\x65\x00\x2c\x73\x73\x69\x69\x69\x00\x00\x6d\x65\x74\x65\x72\x73\x2f\x30\x00\x00\x00\x00\x2f\x6d\x65\x74\x65\x72\x73\x2f\x30\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"));
|
||||
// device.send(Buffer.from("/batchsubscribe\x00,ssiii\x00\x00meters/0\x00\x00\x00\x00/meters/0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"));
|
||||
// device.send(Buffer.from("/subscribe\x00,si\x00/-stat/solosw/01\x001"));
|
||||
};
|
||||
|
||||
function parseAddress(msg) {
|
||||
|
||||
Reference in New Issue
Block a user