feat: add run-dry option for scanner
This commit is contained in:
parent
7c213faa5f
commit
67042945e5
@ -5,4 +5,5 @@ public class ScannerOptions
|
|||||||
public string? Exe { get; set; }
|
public string? Exe { get; set; }
|
||||||
public string? ConfigFile { get; set; }
|
public string? ConfigFile { get; set; }
|
||||||
public string? DetectionFolder { get; set; }
|
public string? DetectionFolder { get; set; }
|
||||||
|
public bool RunDry { get; set; } = false;
|
||||||
}
|
}
|
@ -5,7 +5,8 @@
|
|||||||
"System": "Information",
|
"System": "Information",
|
||||||
"Microsoft": "Information",
|
"Microsoft": "Information",
|
||||||
"Quartz": "Information",
|
"Quartz": "Information",
|
||||||
"System.Net.Http.HttpClient": "Warning"
|
"System.Net.Http.HttpClient": "Warning",
|
||||||
|
"DVRScanner": "Trace"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Telegram":{
|
"Telegram":{
|
||||||
@ -25,12 +26,13 @@
|
|||||||
"FromDayBefore": true,
|
"FromDayBefore": true,
|
||||||
"From": "23:00",
|
"From": "23:00",
|
||||||
"To": "05:00",
|
"To": "05:00",
|
||||||
"MaxAmount": 1,
|
"MaxAmount": 2,
|
||||||
"MediaFolder": "./media/originals/",
|
"MediaFolder": "./media/originals/",
|
||||||
"Scanner": {
|
"Scanner": {
|
||||||
"Exe": "./dvr-scanner/dvr.exe",
|
"Exe": "./dvr-scanner/dvr-scan.exe",
|
||||||
"ConfigFile": "./dvr-scanner/dvr-scan.cfg",
|
"ConfigFile": "./dvr-scanner/dvr-scan.cfg",
|
||||||
"DetectionFolder": "./media/detections/"
|
"DetectionFolder": "./media/detections/",
|
||||||
|
"RunDry": false
|
||||||
},
|
},
|
||||||
"Screenshot": {
|
"Screenshot": {
|
||||||
"Folder": "./media/screenshots/",
|
"Folder": "./media/screenshots/",
|
||||||
|
Loading…
Reference in New Issue
Block a user