Commit Graph

81 Commits

Author SHA1 Message Date
root 4994734ca1 fix 2025-07-12 23:11:40 +08:00
root 3f5af3404b fix: bug 2025-07-12 22:19:39 +08:00
root 2a9199ca16 fix 2025-07-12 22:18:45 +08:00
root 7ee8bcab54 fix: bug 2025-07-12 20:46:30 +08:00
root 0b9797ddef fix 2025-07-12 18:46:26 +08:00
imeepos b2ff4dba32 fix 2025-07-12 18:41:37 +08:00
root 050f9820b8 fix 2025-07-12 18:19:55 +08:00
root d0881dc16e fix 2025-07-11 21:55:34 +08:00
root 0b7e3fb07a fix: 场景检测 2025-07-11 21:53:47 +08:00
imeepos 6c24d5b201 fix: 修复视频播放问题 2025-07-11 18:43:05 +08:00
root 5b32c5749a fix 2025-07-11 18:26:07 +08:00
root 0036200d1f fix: scope ** 2025-07-11 18:25:03 +08:00
root 18e0f49b0c test d盘能否访问 2025-07-11 18:24:10 +08:00
root 7fa995501a test scope 2025-07-11 18:22:16 +08:00
root 5a90495561 fix 2025-07-11 17:59:20 +08:00
root 3f519fbc72 fix 2025-07-11 17:47:40 +08:00
root 067b3764d2 fix 2025-07-11 17:46:27 +08:00
root ebdcaee5a4 fix: 添加一键混剪 按钮 2025-07-11 15:35:33 +08:00
root efcaa2e493 fix 2025-07-11 15:22:36 +08:00
root 5e8e58033b fix 2025-07-11 15:21:44 +08:00
root 6671f590e9 fix 2025-07-11 15:14:52 +08:00
root ed2ef14718 fix 2025-07-11 15:00:12 +08:00
root c2e219c125 fix 2025-07-11 14:19:45 +08:00
root 954c0c457d fix: 命令行闪现问题 2025-07-11 13:58:18 +08:00
root 060730165a fix: 命令行窗口闪现问题 2025-07-11 13:54:30 +08:00
root 346762499e fix: command 2025-07-11 12:00:08 +08:00
root 5d17181c5a fix 2025-07-11 11:58:35 +08:00
root 44a669b6fc 检查文件是否存在 2025-07-11 11:39:11 +08:00
root 47b156c68a fix: 播放器问题 2025-07-11 11:28:57 +08:00
root 6e62d72ff6 fix 2025-07-11 11:25:56 +08:00
root 766d59cdf0 fix: 播放器播放问题 2025-07-11 11:18:14 +08:00
root 074a6b7834 fix: 素材管理 2025-07-11 11:08:48 +08:00
root 9e95d73087 fix 2025-07-11 10:51:38 +08:00
root d6983ab824 模特管理 2025-07-11 10:26:05 +08:00
root 01b6603eec fix 2025-07-11 01:36:13 +08:00
root a9b411bc41 fix 2025-07-11 01:15:06 +08:00
root aaf96c5aed fix 2025-07-11 01:09:20 +08:00
root 426bfff6cd fix 2025-07-11 00:57:19 +08:00
root f7e72162ad fix: bug 2025-07-11 00:35:50 +08:00
root a56336b63e fix 2025-07-11 00:34:04 +08:00
root 010080f61e 素材分类管理 2025-07-11 00:29:09 +08:00
root e0fbb1124d fix: add template track 2025-07-10 23:06:18 +08:00
root 5d684f3c4e fix: 封装command 2025-07-10 22:45:07 +08:00
root 920b0462b5 封装jsonrpc通信机制 2025-07-10 22:26:29 +08:00
root bda9eb1a6b feat: 更通用的 带进度条的 python通信方式 2025-07-10 22:01:59 +08:00
root f9e67bfc3d fix: template 2025-07-10 21:36:40 +08:00
root aae64d4d04 template upgrade 2025-07-10 21:21:16 +08:00
root 04e5990376 refactor: extract common Python execution patterns into reusable shared code
- Create python_executor.rs module with unified Python command execution
- Remove duplicate execute_python_command functions from ai_video.rs and template.rs
- Eliminate 553 lines of duplicate code across both files
- Improve error handling and JSON-RPC message parsing consistency
- Fix template import 'Unknown error' issue by using unified JSON parsing
- Add configurable timeout and encoding settings
- Ensure consistent UTF-8 encoding across all Python executions
2025-07-10 20:45:54 +08:00
root c73aeb58e9 feat: 添加完整的模板管理系统
🎉 新功能:
- 批量导入模板功能,支持文件夹结构解析
- 自动解析 draft_content.json 并提取轨道/素材信息
- 智能素材管理,自动复制到统一资源目录
- 路径转换为相对路径,确保模板可移植性
- 现代化的模板管理界面,支持网格/列表视图
- 搜索和筛选功能
- 模板详情预览和删除功能

🏗️ 技术实现:
- Python: TemplateManager 核心服务类
- Rust/Tauri: 跨平台命令处理和进程管理
- React/TypeScript: 响应式前端界面
- JSON-RPC: 前后端通信协议

📁 文件结构:
- 模板存储在 attachments/templates/{uuid}/ 目录
- 素材统一管理在 resources/ 子目录
- 元数据存储在 templates.json 文件

 已测试功能:
- 批量导入多个模板
- 模板列表显示和搜索
- 模板详情查看
- 模板删除操作
- CLI 命令行接口

这个系统为视频编辑提供了强大的模板管理能力,
支持从外部导入模板并自动处理素材依赖关系。
2025-07-10 20:14:49 +08:00
root 3728bb007b fix 2025-07-10 19:32:44 +08:00