Commit Graph

9 Commits

Author SHA1 Message Date
yw1573 68944da29c refactor: remove collection title from video filename
创建合集子目录后,视频文件名不再重复包含合集标题。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 08:41:56 +08:00
yw1573 6dcc4e7f52 fix: use collection title for subdirectory name
修复合集目录名称问题:
- 添加 collectionTitle 字段存储视频合集标题(ugc_season.title)
- 创建子目录时使用合集名称而非视频标题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 08:39:25 +08:00
yw1573 60a716cb46 feat: create collection directory for video sections
当视频有多个 section(合集)时,也创建合集子目录存放下载的视频。
之前只有番剧模式(season)才会创建子目录。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 18:23:57 +08:00
yw1573 aeaeeb13d3 fix: add missing span to van.tags destructuring
修复白屏问题:缺少 span 标签解构导致运行时错误。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 17:57:47 +08:00
yw1573 dcc6b5969e refactor: replace fake progress bar with spinner for task creation
移除批量下载时模拟的进度条,改用转圈加载动画。
模拟进度条没有实际意义,单事务创建任务速度已大幅提升。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 17:40:16 +08:00
yw1573 0ac6570da9 feat: add sticky progress bar for batch operations
批量下载、批量取消和批量删除操作添加固定在顶部的进度条。
使用 CSS sticky-top 确保进度条始终可见,无论滚动位置如何。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 17:14:12 +08:00
yw1573 449b5fe3a2 feat: add download progress indicator for batch download
批量下载时显示创建下载任务的进度:
- 增加 downloadProgress 和 downloadTotal 状态
- 下载时显示进度条和计数
- 创建任务完成后自动关闭弹窗

Co-Authored-By: AI
2026-04-09 12:38:49 +08:00
yw1573 86caa5765d feat: create season subdirectory when downloading season
下载合集时创建以合集标题命名的子目录:
- 前端 TaskInitData 增加 seasonTitle 字段
- 前端下载时传递合集 seasonTitle
- 后端 TaskInitOption 增加 SeasonTitle 字段
- 后端创建任务时根据 seasonTitle 创建子目录

Co-Authored-By: AI
2026-04-09 11:46:32 +08:00
yw1573 dd8eaef97d refactor: restructure project to standard Go layout
- Reorganize code into cmd/bilidown and internal/ packages
- Rename client/ to web/ for frontend source
- Remove systray dependency for headless web service
- Embed static files into binary using go:embed
- Update import paths to use internal/ prefix
- Update .gitignore with common patterns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 17:21:49 +08:00