Expand description
File matching engine that uses AI content analysis to align video and subtitle files.
This module provides the MatchEngine, which orchestrates discovery,
content sampling, AI analysis, and caching to generate subtitle matching operations.
§Examples
ⓘ
use subx_cli::core::matcher::engine::{MatchEngine, MatchConfig};
// Create a match engine with default configuration
let config = MatchConfig { confidence_threshold: 0.8, max_sample_length: 1024, enable_content_analysis: true, backup_enabled: false };
let engine = MatchEngine::new(Box::new(DummyAI), config);Structs§
- Match
Config - Configuration settings for the file matching engine.
- Match
Engine - Engine for matching video and subtitle files using AI analysis.
- Match
Operation - Match operation result representing a single video-subtitle match.
Enums§
- Conflict
Resolution - Strategy for handling filename conflicts during relocation
- File
Relocation Mode - File relocation mode for matched subtitle files