dsh-mikan 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,56 @@
1
+ # 更新日志
2
+
3
+ ## 0.2.0
4
+
5
+ ### 新增
6
+
7
+ - **qBittorrent 支持**:与 BitComet 并列的第二种下载器,支持 localhost 免认证
8
+ - **下载器自动检测**:「自动检测」依次尝试两种下载器,找到即自动切换配置
9
+ - **下载器管理弹窗**:点击状态气泡查看端口扫描结果、切换下载器
10
+ - **语言分类**:作品按字幕语言分为简体 / 繁体 / 多字幕(垃圾桶)三类
11
+ - 简 / CHS / GB / 简日 → 简体
12
+ - 繁 / CHT / BIG5 / 繁日 → 繁体
13
+ - 简繁都有 / 多语 / 生肉 / 无标记 → 多字幕
14
+ - **按语言分组视图**:作品列表可切换分组,简体置顶
15
+ - **批量下载**:全部 / 简中 / 繁中 / 多字幕四种方式,数量实时统计,空类置灰
16
+ - **当季 / 往季浏览**:当季按月份自动判断;往季可选近 12 年任意季度
17
+ - **全量作品列表**:改用 `/Home/ExpandEpisodeTable`,突破 RSS 单组 100 条上限
18
+ - **显示更多**:列表首次加载 60 条,可翻页至全量
19
+ - **配置 HTTP 接口**:前端可直接修改下载器、代理、目录等设置
20
+
21
+ ### 修复
22
+
23
+ - RSS 单组上限 100 条导致长番作品被截断(柯南组实测 100/346)
24
+ - Node 发送 POST 未带 `Content-Length` 时使用 chunked,qBittorrent 拒绝
25
+ - multipart boundary 格式不被 qBittorrent 接受(返回 `Fails.`)
26
+ - 下载目录未配置时静默失败,改为明确报错
27
+
28
+ ### 优化
29
+
30
+ - 工具默认返回条数 60 → 30,单次约省一半 token
31
+ - 下载器状态统一称「P2P 下载器」,未连接时不再区分具体软件
32
+ - 连接指引同时展示 BitComet 与 qBittorrent 两套步骤
33
+ - 移除本地调试残留(硬编码路径、调试日志)
34
+
35
+ ## 0.1.0
36
+
37
+ 首个版本:
38
+
39
+ - 三级懒加载浏览(季度 → 番剧 → 字幕组 → 作品)
40
+ - 按字幕组订阅,每组独立水位
41
+ - 更新通知:侧栏红绿黄状态点 + 更新信息条
42
+ - 静默关注 / 取消订阅
43
+ - BitComet 下载
44
+ - 双镜像自适应(墙内 mikanime.tv / 墙外 mikanani.me)
45
+ - 开播日兜底(bgm.tv / AniList)
46
+ - 对话工具:浏览、订阅、检查更新、下载、状态、配置
47
+
48
+ ## 后续计划
49
+
50
+ - 对话内点单预览 + 确认后批量下载
51
+ - Transmission / aria2 适配
52
+ - 多源支持(Erai-raws 等,待定)
53
+
54
+ ## License
55
+
56
+ MIT
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dsh-mikan contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,79 @@
1
- # Temporary Holding Version
1
+ # dsh-mikan
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ DeepSeek Harness 的**蜜柑计划追番插件**:浏览季度新番、按字幕组订阅、把确认的作品一键送进比特彗星。
4
+
5
+ - 侧边栏「追番」页:七列周历 + 三级浏览 + 红绿黄更新点
6
+ - 对话工具:检索、订阅、检查更新、按 hash 下载
7
+ - 半自动:只通知你,下载永远由你确认
8
+
9
+ ## 安装
10
+
11
+ ```bash
12
+ dsh plugin --profile web add dsh-mikan
13
+ ```
14
+
15
+ 或在 DSH 插件页点「添加插件」,输入 `dsh-mikan`。
16
+
17
+ 安装后重启 DSH,侧边栏出现「追番」。
18
+
19
+ ## 使用
20
+
21
+ 打开「追番」:
22
+
23
+ 1. **浏览季度** → 按放送星期折叠列出当季新番(只标题,点开才加载)
24
+ 2. 点某部番 → 看开播日和做这部番的字幕组
25
+ 3. 点某个字幕组 → 看它的作品列表,可「订阅本组」或直接下载
26
+ 4. 订阅后出现在周历,卡片显示 `字幕组 已到 X / 全番 Y`
27
+
28
+ 订阅只跟**指定字幕组**:该组出新集才通知,别组的进度只作参考(全番最新)。
29
+
30
+ ## 配置
31
+
32
+ 在 profile 的 `cordis.patch.yml` 中:
33
+
34
+ ```yaml
35
+ - id: dsh-mikan
36
+ config:
37
+ downloader: 'qbittorrent' # 或 'bitcomet'(默认)
38
+ qbittorrentBase: 'http://127.0.0.1:8080'
39
+ savePath: 'D:\Downloads\Anime'
40
+ proxy: 'http://127.0.0.1:7890'
41
+ checkIntervalMinutes: 30
42
+ ```
43
+
44
+ | 字段 | 默认 | 说明 |
45
+ |---|---|---|
46
+ | `downloader` | `bitcomet` | 下载器后端:`bitcomet` 或 `qbittorrent` |
47
+ | `bitcometBase` | `http://127.0.0.1:10816` | BitComet WebUI 地址 |
48
+ | `qbittorrentBase` | `http://127.0.0.1:8080` | qBittorrent WebUI 地址 |
49
+ | `qbittorrentUser` / `qbittorrentPassword` | 空 | qB 凭据;qB 允许 localhost 免认证时可留空 |
50
+ | `savePath` | 空(必填) | 下载保存目录,未设置时下载会被拒绝 |
51
+ | `proxy` | 空 | 本地代理地址,留空直连 |
52
+ | `checkIntervalMinutes` | 30 | 后台检查间隔 |
53
+
54
+ BitComet 的用户名密码会从 `%APPDATA%\BitComet\BitComet.xml` 自动读取,无需填写。
55
+
56
+ ## 下载器
57
+
58
+ | 下载器 | 配置 |
59
+ |---|---|
60
+ | **BitComet** | 选项 → 远程访问 → 开启网页版访问,端口固定值 |
61
+ | **qBittorrent** | 工具 → 选项 → Web UI → 启用 Web 用户界面 |
62
+
63
+ 插件不会自己启动或关闭下载器,请保持它运行。
64
+
65
+ ## 环境自适应
66
+
67
+ 启动时自动探测:有可用代理 → 走墙外 `mikanani.me` + bgm.tv 补开播日;否则走墙内 `mikanime.tv` + AniList 兜底。
68
+
69
+ ## 已知限制
70
+
71
+ - 没有字幕组做的番剧只有标题,开播日依赖 bgm/AniList,都不可用时显示未知
72
+ - 剧场版/OVA 的「放送日期」字段不可信,只用「放送开始」
73
+ - 全站 RSS 单次最多 100 条,订阅多时靠单番 RSS 补漏
74
+ - 比特彗星的添加/删除接口返回值不可靠,一律以任务列表复核
75
+ - 插件不会自己启动或关闭比特彗星
76
+
77
+ ## License
78
+
79
+ MIT