feat: 添加文件名序号匹配规则功能
- 新增 FilenameUtils 工具类,支持从文件名中提取3位数字序号 - 扩展 SegmentMatchingRule 枚举,添加 FilenameSequence 匹配规则 - 在 MaterialMatchingService 中实现基于文件名序号的匹配逻辑 - 确保每个模板只能使用一个序号为001的视频文件 - 添加全面的单元测试和集成测试 - 支持多种文件名格式:name_001.ext, 001_name.ext, name001.ext 等 遵循 promptx/tauri-desktop-app-expert 开发规范
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
pub mod database;
|
||||
pub mod connection_pool;
|
||||
pub mod file_system;
|
||||
pub mod filename_utils;
|
||||
pub mod performance;
|
||||
pub mod event_bus;
|
||||
pub mod ffmpeg;
|
||||
|
||||
Reference in New Issue
Block a user