diff --git a/app/data/cfg.json b/app/data/cfg.json index 423de9f..b26c08b 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.12", + "version": "1.7.13", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/lib/client/index.js b/app/lib/client/index.js index 00ab183..1d67079 100644 --- a/app/lib/client/index.js +++ b/app/lib/client/index.js @@ -50,9 +50,7 @@ function setImage(src) { imgTmp = new Image(); let img = document.getElementById('img'); let body = document.querySelector('body'); - if (body.classList.contains('meter')) { - body.classList.remove('meter'); - } + body.className = ''; imgTmp.onload = function () { img.style.backgroundImage = `url('${src}')`; return resolve(src); @@ -88,6 +86,8 @@ function onFocus(arg) { const can = document.getElementById('can'); const dpr = window.devicePixelRatio || 1; let ctx; + const body = document.querySelector('body'); + body.className = ''; if (!can.classList.contains('show')) { can.classList.add('show'); } @@ -132,6 +132,8 @@ function onField(arg) { const can = document.getElementById('can'); const dpr = window.devicePixelRatio || 1; const screen = window.outerWidth / window.outerHeight; + const body = document.querySelector('body'); + body.className = ''; let ctx; if (!can.classList.contains('show')) { can.classList.add('show'); diff --git a/app/lib/client/index.js.map b/app/lib/client/index.js.map index e52b8e1..eab9da4 100644 --- a/app/lib/client/index.js.map +++ b/app/lib/client/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/client/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yEAAyE;AACzE,YAAY;AACZ,CAAC,UAAS,CAAC,EAAC,CAAC,IAAE,QAAQ,IAAE,OAAO,OAAO,IAAE,QAAQ,IAAE,OAAO,MAAM,CAAA,CAAC,CAAA,MAAM,CAAC,OAAO,GAAC,CAAC,EAAE,CAAA,CAAC,CAAA,UAAU,IAAE,OAAO,MAAM,IAAE,MAAM,CAAC,GAAG,CAAA,CAAC,CAAA,MAAM,CAAC,EAAE,EAAC,CAAC,CAAC,CAAA,CAAC,CAAA,QAAQ,IAAE,OAAO,OAAO,CA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O;IACf,KAAK,EAAG,OAAO;IACf,IAAI,EAAG,MAAM;CACf,CAAA;AAED,EAAE,CAAC,SAAS,GAAG,CAAO,KAAW,EAAE,EAAE;IAClC,MAAM,GAAG,GAAkB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAClD,IAAI,GAAmB,CAAC;IAExB,IAAI,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,WAAW,EAAE;QAC7C,IAAI;YACD,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAA;SAChC;QAAC,OAAO,GAAG,EAAE;YACX,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;SACpB;QACD,GAAG,GAAG;YACH,MAAM,EAAG,GAAG,CAAC,MAAM;YACnB,EAAE,EAAG,GAAG,CAAC,EAAE;SACb,CAAA;QACD,IAAI,CAAC,GAAG,CAAC,CAAA;KACX;AACJ,CAAC,CAAA,CAAA;AAED,EAAE,CAAC,OAAO,GAAG,CAAO,KAAW,EAAE,EAAE;IACjC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;AAClC,CAAC,CAAA,CAAC;AAEF,CAAC,SAAS,IAAI;IACX,YAAY,EAAE,CAAC;AAClB,CAAC,CAAC,EAAE,CAAA"} \ No newline at end of file diff --git a/app/lib/filmout/index.js b/app/lib/filmout/index.js index 02f0740..eddd591 100644 --- a/app/lib/filmout/index.js +++ b/app/lib/filmout/index.js @@ -23,7 +23,7 @@ class FilmOut { * @param {object} ui Electron ui object * @param {object} light Light device object **/ - constructor(display, ffmpeg, ffprobe, ui, light) { + constructor(display, server, ffmpeg, ffprobe, ui, light) { this.id = 'filmout'; this.videoExtensions = ['.mpg', '.mpeg', '.mov', '.mkv', '.avi', '.mp4']; this.stillExtensions = ['.tif', '.tiff', '.png', '.jpg', '.jpeg', '.bmp']; @@ -42,6 +42,7 @@ class FilmOut { files: [] }; this.display = display; + this.server = server; this.ffmpeg = ffmpeg; this.ffprobe = ffprobe; this.ui = ui; @@ -426,6 +427,7 @@ class FilmOut { try { await this.display.open(); await this.display.focus(); + await this.server.cmdAll('focus'); } catch (err) { this.log.error(err, 'FILMOUT', true, true); @@ -440,6 +442,7 @@ class FilmOut { try { await this.display.open(); await this.display.field(ratio); + await this.server.cmdAll('field', { ratio }); } catch (err) { this.log.error(err, 'FILMOUT', true, true); @@ -453,6 +456,7 @@ class FilmOut { try { await this.display.open(); await this.display.meter(); + await this.server.cmdAll('meter'); } catch (err) { this.log.error(err, 'FILMOUT', true, true); @@ -465,6 +469,7 @@ class FilmOut { try { await this.display.hide(); await this.display.close(); + await this.server.cmdAll('blank'); } catch (err) { this.log.error(err, 'FILMOUT', true, true); @@ -478,7 +483,7 @@ class FilmOut { this.log.info(`Changing the display to ${arg.display}`); } } -module.exports = (display, ffmpeg, ffprobe, ui, light) => { - return new FilmOut(display, ffmpeg, ffprobe, ui, light); +module.exports = (display, server, ffmpeg, ffprobe, ui, light) => { + return new FilmOut(display, server, ffmpeg, ffprobe, ui, light); }; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/app/lib/filmout/index.js.map b/app/lib/filmout/index.js.map index feaf592..77303e8 100644 --- a/app/lib/filmout/index.js.map +++ b/app/lib/filmout/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/filmout/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;AAEb,kFAA6D;AAC7D,+BAAqC;AACrC,uCAAoD;AACpD,iCAA8B;AAC9B,mCAAoC;AAEpC,kDAA0B;AAE1B;;IAEI;AAEJ,MAAM,OAAO;IAyBZ;;;;;;;;;QASI;IACJ,YAAa,OAAa,EAAE,MAAY,EAAE,OAAa,EAAE,EAAQ,EAAE,KAAW;QAlCtE,OAAE,GAAY,SAAS,CAAC;QACxB,oBAAe,GAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,E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E,CAAC;YAC1B,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YAC3B,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SAClC;QAAC,OAAO,GAAG,EAAE;YACb,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;SAC3C;IACF,CAAC;IACD;;QAEI;IACJ,KAAK,CAAC,KAAK,CAAE,GAAS,EAAE,GAAS;QAChC,IAAI;YACH,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YAC1B,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YAC3B,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SAClC;QAAC,OAAO,GAAG,EAAE;YACb,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;SAC3C;IACF,CAAC;IACD;;QAEI;IACJ,SAAS,CAAE,GAAS,EAAE,GAAS;QAC9B,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,2BAA2B,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IACzD,CAAC;CACD;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,OAAa,EAAE,MAAY,EAAE,MAAY,EAAE,OAAa,EAAE,EAAQ,EAAE,KAAW,EAAE,EAAE;IACpG,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC,CAAA"} \ No newline at end of file diff --git a/app/lib/server/index.js b/app/lib/server/index.js index 5f6b1e8..1641724 100644 --- a/app/lib/server/index.js +++ b/app/lib/server/index.js @@ -63,10 +63,11 @@ class Server { this.wss.on('connection', async function (ws) { ws.on("message", function (data) { let obj = JSON.parse(data); - this.log.info(data); + //this.log.info(data) if (obj.id && this.queue[obj.id]) { this.queue[obj.id](obj); delete this.queue[obj.id]; + this.log.info(`${obj.action} complete`); } }.bind(this)); ws.on('close', function () { diff --git a/app/lib/server/index.js.map b/app/lib/server/index.js.map index 5a2f86e..6345d9f 100644 --- a/app/lib/server/index.js.map +++ b/app/lib/server/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;AAAA,2BAA+C;AAC/C,sDAA0E;AAC1E,0CAAsC;AACtC,gDAAuB;AACvB,+BAAmC;AACnC,2BAA2B;AA2B3B,MAAM,MAAM;IAwBX;QAvBQ,OAAE,GAAY,QAAQ,CAAA;QACvB,aAAQ,GAAa,KAAK,CAAA;QAEzB,cAAS,GAAsB;YACtC;gBACC,IAAI,EAAE,OAAO;gBACb,IAAI,EAAG,aAAa;aACpB;YACD;gBACC,IAAI,EAAG,QAAQ;gBACf,IAAI,EAAG,qBAAqB;aAC5B;SACD,CAAA;QAIO,SAAI,GAAY,IAAI,CAAA;QACpB,WAAM,GAAY,IAAI,CAAA;QACtB,UAAK,GAAqB,EAAE,CAAA;QAC5B,UAAK,GAAiB,EAAE,CAAA;QAExB,mBAAc,GAAY,KAAK,CAAA,CAAC,QAAQ;QAG/C,IAAI,CAAC,IAAI,EAAE,CAAA;IACZ,CAAC;IAED,KAAK,CAAC,IAAI;QACT,IAAI,CAAC,GAAG,GAAG,MAAM,GAAG,CAAC,EAAE,KAAK,EAAG,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1C,MAAM,IAAI,CAAC,IAAI,EAAE,CAAA;QACjB,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;IACnB,CAAC;IAED,KAAK,CAAC,IAAI;QACT,IAAI,CAAC,IAAI,GAAG,iBAAO,EAAE,CAAA;QACrB,KA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M,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;QACjC,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;QACzB,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAEZ,OAAO,IAAI,OAAO,CAAC,UAAU,OAAkB,EAAE,MAAgB;YAChE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,UAAU,GAAS;gBACnC,OAAO,OAAO,CAAC,GAAG,CAAC,CAAA;YACpB,CAAC,CAAA;YACD,gBAAgB;QACjB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACd,CAAC;CACD;AAED,MAAM,CAAC,OAAO,GAAG;IAChB,OAAO,IAAI,MAAM,EAAE,CAAA;AACpB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":";;;;;AAAA,2BAA+C;AAC/C,sDAA0E;AAC1E,0CAAsC;AACtC,gDAAuB;AACvB,+BAAmC;AACnC,2BAA2B;AA2B3B,MAAM,MAAM;IAwBX;QAvBQ,OAAE,GAAY,QAAQ,CAAA;QACvB,aAAQ,GAAa,KAAK,CAAA;QAEzB,cAAS,GAAsB;YACtC;gBACC,IAAI,EAAE,OAAO;gBACb,IAAI,EAAG,aAAa;aACpB;YACD;gBACC,IAAI,EAAG,QAAQ;gBACf,IAAI,EAAG,qBAAqB;aAC5B;SACD,CAAA;QAIO,SAAI,GAAY,IAAI,CAAA;QACpB,WAAM,GAAY,IAAI,CAAA;QACtB,UAAK,GAAqB,EAAE,CAAA;QAC5B,UAAK,GAAiB,EAAE,CAAA;QAExB,mBAAc,GAAY,KAAK,CAAA,CAAC,QAAQ;QAG/C,IAAI,CAAC,IAAI,EAAE,CAAA;IACZ,CAAC;IAED,KAAK,CAAC,IAAI;QACT,IAAI,CAAC,GAAG,GAAG,MAAM,GAAG,CAAC,EAAE,KAAK,EAAG,IAAI,CAAC,EAAE,E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;QAEI;IAEG,KAAK,CAAC,GAAG,CAAE,EAAc,EAAE,MAAe,EAAE,UAAgB,EAAE;QACpE,MAAM,EAAE,GAAY,SAAM,EAAE,CAAA;QAC5B,IAAI,GAAG,GAAG;YACT,EAAE,EAAE,MAAM;SACV,CAAA;QACD,IAAI,GAAY,CAAA;QAEhB,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;QACjC,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;QACzB,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAEZ,OAAO,IAAI,OAAO,CAAC,UAAU,OAAkB,EAAE,MAAgB;YAChE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,UAAU,GAAS;gBACnC,OAAO,OAAO,CAAC,GAAG,CAAC,CAAA;YACpB,CAAC,CAAA;YACD,gBAAgB;QACjB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACd,CAAC;CACD;AAED,MAAM,CAAC,OAAO,GAAG;IAChB,OAAO,IAAI,MAAM,EAAE,CAAA;AACpB,CAAC,CAAA"} \ No newline at end of file diff --git a/app/main.js b/app/main.js index 45726ef..3cdf215 100644 --- a/app/main.js +++ b/app/main.js @@ -117,8 +117,9 @@ var init = async function () { log.error('Error enumerating connected devices', err) } + server = require('server')() light = require('light')(arduino, cfg, mainWindow.webContents) - filmout = require('filmout')(display, ffmpeg, ffprobe, mainWindow.webContents, light) + filmout = require('filmout')(display, server, ffmpeg, ffprobe, mainWindow.webContents, light) cam = require('cam')(arduino, cfg, mainWindow.webContents, filmout) proj = require('proj')(arduino, cfg, mainWindow.webContents, filmout) alert = require('alert')(mainWindow.webContents) @@ -136,8 +137,6 @@ var init = async function () { cmd = require('cmd')(cfg, proj, cam, light, alert, cam2, proj2, capper) seq = require('sequencer')(cfg, cmd, mainWindow.webContents) - - server = require('server')() } app.on('ready', init) diff --git a/app/package-lock.json b/app/package-lock.json index 6b57f95..70e2e88 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.12", + "version": "1.7.13", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index fd8cddb..1b1a903 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.12", + "version": "1.7.13", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/app/server.html b/app/server.html index d89e6ca..2b54e44 100644 --- a/app/server.html +++ b/app/server.html @@ -4,8 +4,7 @@ html, body{ background: #000; padding: 0; margin: 0; width: 100vw; height: 100vh; overflow: hidden; } body.meter { background: rgb(117, 117, 117); } body.blank { background: #000; } - body.blank #img { display: none; } - body.blank #can { display: none; } + body.blank #img, body.blank #can, body.meter #img, body.meter #can { display: none; } #nosleep { color: #fff; margin: 50px auto } #img { position: absolute; diff --git a/app/src/lib/client/index.ts b/app/src/lib/client/index.ts index a035ca9..ae7eb54 100644 --- a/app/src/lib/client/index.ts +++ b/app/src/lib/client/index.ts @@ -32,9 +32,7 @@ async function setImage (src : string) { imgTmp = new Image() let img = document.getElementById('img') let body = document.querySelector('body') - if (body.classList.contains('meter')) { - body.classList.remove('meter') - } + body.className = '' imgTmp.onload = function () { img.style.backgroundImage = `url('${src}')`; return resolve(src) @@ -66,6 +64,8 @@ async function onFocus (arg : McopyRequest ) { const can : HTMLCanvasElement = document.getElementById('can') as HTMLCanvasElement const dpr = window.devicePixelRatio || 1 let ctx; + const body = document.querySelector('body') + body.className = '' if (!can.classList.contains('show')) { can.classList.add('show') @@ -113,6 +113,8 @@ async function onField (arg : McopyRequest) { const can : HTMLCanvasElement = document.getElementById('can') as HTMLCanvasElement const dpr : number = window.devicePixelRatio || 1 const screen : number = window.outerWidth / window.outerHeight + const body = document.querySelector('body') + body.className = '' let ctx : CanvasRenderingContext2D; if (!can.classList.contains('show')) { can.classList.add('show') diff --git a/data/cfg.json b/data/cfg.json index 423de9f..b26c08b 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.12", + "version": "1.7.13", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index 0b36cbc..9c6172b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.7.12", + "version": "1.7.13", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.7.12", + "version": "1.7.13", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index 431bd7a..2b65f1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.7.12", + "version": "1.7.13", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 423de9f..b26c08b 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.12", + "version": "1.7.13", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/src/filmout/index.ts b/src/filmout/index.ts index 5917884..66b6750 100644 --- a/src/filmout/index.ts +++ b/src/filmout/index.ts @@ -37,6 +37,7 @@ class FilmOut { private ipc : any; private ui : any; private log : any; + private server : any; /** * @constructor * Builds FilmOut class with display, ffmpeg, ffprobe, ui and light as internal properties. @@ -47,8 +48,9 @@ class FilmOut { * @param {object} ui Electron ui object * @param {object} light Light device object **/ - constructor (display : any, ffmpeg : any, ffprobe : any, ui : any, light : any) { + constructor (display : any, server : any, ffmpeg : any, ffprobe : any, ui : any, light : any) { this.display = display; + this.server = server; this.ffmpeg = ffmpeg; this.ffprobe = ffprobe; this.ui = ui; @@ -444,6 +446,7 @@ class FilmOut { try { await this.display.open(); await this.display.focus(); + await this.server.cmdAll('focus') } catch (err) { this.log.error(err, 'FILMOUT', true, true); } @@ -457,6 +460,7 @@ class FilmOut { try { await this.display.open(); await this.display.field(ratio); + await this.server.cmdAll('field', { ratio }); } catch (err) { this.log.error(err, 'FILMOUT', true, true); } @@ -469,6 +473,7 @@ class FilmOut { try { await this.display.open(); await this.display.meter(); + await this.server.cmdAll('meter'); } catch (err) { this.log.error(err, 'FILMOUT', true, true); } @@ -480,6 +485,7 @@ class FilmOut { try { await this.display.hide(); await this.display.close(); + await this.server.cmdAll('blank'); } catch (err) { this.log.error(err, 'FILMOUT', true, true); } @@ -493,6 +499,6 @@ class FilmOut { } } -module.exports = (display : any, ffmpeg : any, ffprobe : any, ui : any, light : any) => { - return new FilmOut(display, ffmpeg, ffprobe, ui, light); +module.exports = (display : any, server : any, ffmpeg : any, ffprobe : any, ui : any, light : any) => { + return new FilmOut(display, server, ffmpeg, ffprobe, ui, light); } diff --git a/src/server/index.ts b/src/server/index.ts index 30bdf13..b8404ce 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -95,10 +95,11 @@ class Server { this.wss.on('connection', async function (ws : WebSocket) { ws.on("message", function (data : string ) { let obj : any = JSON.parse(data) - this.log.info(data) + //this.log.info(data) if (obj.id && this.queue[obj.id]) { this.queue[obj.id](obj) delete this.queue[obj.id] + this.log.info(`${obj.action} complete`) } }.bind(this))