Minor cleanup
parent
a446c0aa59
commit
1bb95ef664
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// Shinobi
|
||||
// Copyright (C) 2016 Moe Alam, moeiscool
|
||||
// Copyright (C) 2020 Moe Alam, moeiscool
|
||||
//
|
||||
//
|
||||
// # Donate
|
||||
|
@ -57,8 +57,6 @@ require('./libs/ffmpeg.js')(s,config,lang,function(ffmpeg){
|
|||
require('./libs/events.js')(s,config,lang)
|
||||
//recording functions
|
||||
require('./libs/videos.js')(s,config,lang)
|
||||
//branding functions and config defaults
|
||||
require('./libs/videoDropInServer.js')(s,config,lang,app,io)
|
||||
//plugins : websocket connected services..
|
||||
require('./libs/plugins.js')(s,config,lang,io)
|
||||
//health : cpu and ram trackers..
|
||||
|
|
|
@ -455,7 +455,6 @@ module.exports = function(s,config,lang){
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
const checkObjectsInDetails = function(e){
|
||||
//parse Objects
|
||||
(['detector_cascades','cords','detector_filters','input_map_choices']).forEach(function(v){
|
||||
|
@ -634,11 +633,6 @@ module.exports = function(s,config,lang){
|
|||
})
|
||||
})
|
||||
}
|
||||
// try{
|
||||
// fs.unlinkSync('/home/Shinobi/test.log')
|
||||
// }catch(err){
|
||||
//
|
||||
// }
|
||||
const createCameraFolders = function(e,callback){
|
||||
//set the recording directory
|
||||
var activeMonitor = s.group[e.ke].activeMonitors[e.id]
|
||||
|
|
Loading…
Reference in New Issue