minor cleaning

merge-requests/74/merge
Moe 2021-05-22 09:25:29 -07:00
parent 87542d2fcc
commit 7a8d0e7dca
3 changed files with 9 additions and 11 deletions

View File

@ -126,6 +126,7 @@ module.exports = (s,config,lang) => {
return `drawtext=fontfile=${timestampFont}:text='%{localtime}':x=${timestampX}:y=${timestampY}:fontcolor=${timestampColor}:box=1:boxcolor=${timestampBackgroundColor}:fontsize=${timestampFontSize}`
}
const createInputMap = (e, number, input) => {
// inputs, input map
//`e` is the monitor object
//`x` is an object used to contain temporary values.
const inputFlags = []

View File

@ -67,12 +67,15 @@
"targets": [
"node12"
],
"scripts": [],
"scripts": [
"libs/cameraThread/detector.js",
"libs/cameraThread/singleCamera.js",
"libs/cameraThread/snapshot.js"
],
"assets": [
"definitions/*",
"languages/*",
"web/*",
"test/*"
"definitions/**/*",
"languages/**/*",
"web/**/*"
]
}
}

View File

@ -315,12 +315,6 @@ $(document).ready(function(e){
break;
}
break;
case'cronStop':
$.ccio.cx({f:'cron',ff:'stop'})
break;
case'cronRestart':
$.ccio.cx({f:'cron',ff:'restart'})
break;
case'jpegToggle':
e.cx={f:'monitor',ff:'jpeg_on'};
if($.ccio.op().jpeg_on===true){