feat: add run-dry option for scanner

This commit is contained in:
Guillermo Marcel 2025-02-17 18:36:17 -03:00
parent 7c213faa5f
commit 67042945e5
2 changed files with 7 additions and 4 deletions

View File

@ -5,4 +5,5 @@ public class ScannerOptions
public string? Exe { get; set; }
public string? ConfigFile { get; set; }
public string? DetectionFolder { get; set; }
public bool RunDry { get; set; } = false;
}

View File

@ -5,7 +5,8 @@
"System": "Information",
"Microsoft": "Information",
"Quartz": "Information",
"System.Net.Http.HttpClient": "Warning"
"System.Net.Http.HttpClient": "Warning",
"DVRScanner": "Trace"
}
},
"Telegram":{
@ -25,12 +26,13 @@
"FromDayBefore": true,
"From": "23:00",
"To": "05:00",
"MaxAmount": 1,
"MaxAmount": 2,
"MediaFolder": "./media/originals/",
"Scanner": {
"Exe": "./dvr-scanner/dvr.exe",
"Exe": "./dvr-scanner/dvr-scan.exe",
"ConfigFile": "./dvr-scanner/dvr-scan.cfg",
"DetectionFolder": "./media/detections/"
"DetectionFolder": "./media/detections/",
"RunDry": false
},
"Screenshot": {
"Folder": "./media/screenshots/",