diff --git a/definitions/en_CA.js b/definitions/en_CA.js index a5d786ab..ce385e99 100644 --- a/definitions/en_CA.js +++ b/definitions/en_CA.js @@ -3084,25 +3084,6 @@ module.exports = function(s,config,lang){ "form-group-class": "h_casc_input h_casc_1", "possible": "" }, - { - "name": "detail=detector_always_record", - "field": lang['Start recording on motion'], - "description": "", - "default": "0", - "example": "", - "selector": "h_det_alwy_rec", - "fieldType": "select", - "possible": [ - { - "name": lang.No, - "value": "0" - }, - { - "name": lang.Yes, - "value": "1" - } - ] - }, { hidden: true, "name": "detail=detector_scale_x_object", diff --git a/languages/en_CA.json b/languages/en_CA.json index 21817479..b566c65f 100644 --- a/languages/en_CA.json +++ b/languages/en_CA.json @@ -1021,6 +1021,5 @@ "There are no monitors that you can view with this account.":"There are no monitors that you can view with this account.", "Delete Monitors and Files": "Delete Monitors and Files", "Select atleast one monitor to delete": "Select atleast one monitor to delete.", - "Use Built-In":"Use Built-In", - "Start recording on motion":"Start recording on motion" + "Use Built-In":"Use Built-In" } diff --git a/libs/events.js b/libs/events.js index a3189859..a1378dbd 100644 --- a/libs/events.js +++ b/libs/events.js @@ -377,7 +377,7 @@ module.exports = function(s,config,lang){ }) } // - if(currentConfig.detector_always_record === '1' || d.doObjectDetection !== true ){ + if(currentConfig.detector_use_motion === '0' || d.doObjectDetection !== true ){ if(currentConfig.det_multi_trig === '1'){ s.getCamerasForMultiTrigger(d.mon).forEach(function(monitor){ if(monitor.mid !== d.id){