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? 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;
} }

View File

@ -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/",