feat(scanning): add library scanner with rules engine

- Add ScanRule model with configurable conditions
- Add FileAnalyzer for ffprobe-based media analysis
- Add LibraryScanner with manual, scheduled and watcher modes
- Add LanguageDetector for audio language detection
- Support rule-based filtering with priority evaluation
This commit is contained in:
2026-01-16 16:54:41 +01:00
parent 58c565cd96
commit d28c4caa6a
6 changed files with 1612 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
"""Library scanning module for standalone mode."""
from backend.scanning.models import ScanRule
from backend.scanning.file_analyzer import FileAnalyzer, FileAnalysis
from backend.scanning.detected_languages import DetectedLanguage
__all__ = [
"ScanRule",
"FileAnalyzer",
"FileAnalysis",
"DetectedLanguage",
]