minor cleaning
parent
87542d2fcc
commit
7a8d0e7dca
|
@ -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 = []
|
||||
|
|
13
package.json
13
package.json
|
@ -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/**/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue