Commit Graph

10847 Commits

Author SHA1 Message Date
CHANTXU64
b56af20366 fix(subscribe): 总集数裁短时整季包只下载订阅范围内的剧集
订阅只要本季前几集(如单集试看 start=1、total=1)且本季完全未入库时,
缺集仍用空列表表示缺整季。首次下载的整包优先因候选优先级为 0 被拒、
回退普通下载后,整季包不选集整包提交,例如只订第 1 集却下载 E01-E21。

- get_no_exists_info 在传入的总集数少于本季集数时写出显式目标集,
  下载链据此走拆包选集;媒体库无此剧和只有其他季两条分支一致
- 总集数存在集数与末集号两种口径,仅在两者一致(本季从第 1 集起、
  前段不断号)时写出目标集,否则保留整季标记,避免订阅被裁成空集而误判完成
- 总集数覆盖整季或大于本季集数时行为不变;插件传入较小 totals 时
  返回值由空列表变为显式集数
- 补充缺集计算与从订阅下载入口到下载器选集的回归用例

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 00:39:34 +08:00
jxxghp
f53d3b36f6 Merge pull request #7414 from gi29734401/agent/moviepilot/dfe0f538fb50ccf0
fix(transfer): 智能助手识别成功但文件仍无法整理
2026-11-15 00:20:41 +08:00
jxxghp
da424ba918 fix(transfer): 完善显式身份识别与重规划技能契约 2026-11-15 00:14:58 +08:00
jxxghp
8ea17993f0 Merge pull request #7419 from jxxghp/fix/issue-7417-season-selection
fix(download): 按识别后的季集映射选择种子文件
2026-11-14 23:43:13 +08:00
jxxghp
8122337427 fix(download): preserve recognized season and episode mapping 2026-11-14 23:35:31 +08:00
jxxghp
ed702fa4d2 Merge pull request #7418 from jxxghp/fix/issue-7416-episode-zero
fix(transfer): 修复第 0 集的偏移、模板匹配和刮削
2026-11-14 23:29:31 +08:00
jxxghp
b339a7452b fix(transfer): preserve zero episode numbers during offset 2026-11-14 23:23:14 +08:00
jxxghp
062b542676 Merge pull request #7410 from pcbeingused333/fix/notify-none-title
fix(notification): 通知仅有正文时 Slack、VoceChat、Synology Chat 不再显示标题 None
2026-11-14 18:52:43 +08:00
jxxghp
1bcdab81a6 fix(notification): complete optional title regression coverage 2026-11-14 18:46:23 +08:00
sloth
5d3264e7cb fix(transfer): 补齐识别回退基类桩的原生标识签名
mypy 检查子类签名与 _MediaOwnerBase 的 override 不兼容,导致 Architecture Ratchet Gate 与单元测试的类型门禁失败。仅在类型桩同步可选参数,运行时行为不变。
2026-11-14 18:43:23 +08:00
sloth
ff90de545d fix(transfer): 重新规划识别复用已核实的媒体标识 2026-11-14 18:21:29 +08:00
jxxghp
ec12c15ecd fix(rss): recover missing and expired site feeds safely 2026-11-14 14:16:41 +08:00
jxxghp
0e54d7b7ab Merge pull request #7412 from jxxghp/fix/issue-7411-kids-category
fix(classification): prioritize children in default TV rules
2026-11-14 11:17:11 +08:00
jxxghp
07482e1321 fix(classification): prioritize children's TV categories 2026-11-14 11:11:46 +08:00
jxxghp
e6f9bd4165 Merge pull request #7409 from jxxghp/perf/subscription-refresh-20261114
perf(subscription): 优化自动模式订阅刷新排程
2026-11-14 10:30:48 +08:00
jxxghp
8d70d84333 perf(subscription): optimize automatic refresh scheduling 2026-11-14 10:24:22 +08:00
Alex Castillo
8d7784b392 fix(notification): omit missing title in Slack, VoceChat and Synology Chat messages
When send_msg is called with only text (title=None), these channels rendered the literal string 'None' as the title. Skip the title when it is absent.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 22:22:48 -04:00
alexcastgonz
756720d29f fix(llm): replace retired deepseek-chat default with deepseek-v4-flash (#7408) 2026-11-14 10:11:24 +08:00
jxxghp
7f5e38abf8 fix(plugin): reduce metadata and icon loading latency (#7407) 2026-11-14 00:58:05 +08:00
jxxghp
2078779397 fix(download): preserve tasks and align episode file selection (#7405)
Keep existing downloads untouched, retain unnumbered attachments and select intersecting episode videos consistently across downloaders.

Refs #7362
2026-11-13 22:26:21 +08:00
jxxghp
4580c8d4c5 fix(indexer): stabilize FluxTorrent API access (#7404)
* fix(indexer): stabilize FluxTorrent API access

* test(indexer): isolate FluxTorrent schema registration
2026-11-13 20:41:34 +08:00
jxxghp
4fa05876f8 fix(music): inherit transfer defaults for final directories (#7403) 2026-11-13 19:42:58 +08:00
jxxghp
dd15f241e3 fix(deps): update Soup Sieve to unblock dependency audit (#7402) 2026-11-13 16:37:27 +08:00
jxxghp
b6b57a30db feat(music): add manual alignment and destination controls (#7401) 2026-11-13 16:17:22 +08:00
flippedyizheng
e9bc8ee2da fix(site): defer long local throttle waits instead of sleeping (#7399) 2026-11-13 12:20:18 +08:00
jxxghp
d1c34c1b56 fix(storage): repair dangling symlinks during retransfer (#7398)
Preserve atomic replacement and legacy execution-step retries. Refs #7391.
2026-11-13 10:19:57 +08:00
jxxghp
647c5f4da1 fix(transfer): tolerate ctime drift on FUSE mounts (#7397) 2026-11-13 09:41:07 +08:00
jxxghp
74dd42aaef Merge pull request #7396 from pcbeingused333/fix/jellyfin-library-routes-c2832 2026-11-13 06:52:37 +08:00
jxxghp
bbe05fb162 Merge pull request #7393 from gntv456/feature/flux-torrent-fixes 2026-11-13 06:51:57 +08:00
Alex Castillo
691b7d84ad fix(jellyfin): use dedicated routes for additional library types 2026-11-12 15:57:48 -04:00
gntv456
13d09bc551 docs(architecture): 同步架构总览的导入边数量
契约门禁要求文档中的依赖边数与生成 fixture 一致,随解析器新增
foundation.temporal 依赖更新为 10,123。
2026-11-12 20:50:39 +08:00
gntv456
64d3fa6c8c chore(architecture): 同步 FluxTorrent 用户解析器的依赖边
用户资料解析需要把站点返回的注册时间归一成统一格式,新增了
parser.fluxtorrent 对 foundation.temporal 的依赖,按契约门禁要求同步
依赖基线(10121 -> 10123 条边)。
2026-11-12 20:43:27 +08:00
gntv456
0d3302f2f6 test(indexer): 覆盖 FluxTorrent 连接检测与用户统计回退
新增连接检测用例:令牌缺失、正常回执、鉴权失败透出站点原因、非兼容层
响应不被当成成功;分类用例补教育类回落到站内分类名;用户资料用例补做种
数、做种体积与注册时间,并覆盖老站点经 PTPP 端点补齐、新版站点跳过请求
以及补充端点不可用三种路径。
2026-11-12 20:35:50 +08:00
gntv456
d411ad4c82 fix(indexer): FluxTorrent 连接检测改用兼容层令牌
FluxTorrent 是前后端分离站点,首页 HTML 不含 NexusPHP 登录标记。通用
网页检测会把有效的开放 API Token 误判成「Cookie已失效」,于是添加站点
后连接测试报错、用户资料也不再刷新。

给 FluxTorrentSpider 增加 test_connection:与搜索、用户资料解析共用同一
枚令牌请求兼容层 user.json 并校验统一信封,鉴权失败时把站点返回的原因
透出,不再让站长排查早已不需要的 Cookie。

同时修正两处数据表达:

- 教育类分类(小学/初中/高中/大学/教育影音)没有对应的 Newznab 媒体号,
  原来统一写成「未知」,还把「教育影音」映射成电视剧。现在保留站内分类
  名,既保留信息也不会把图书与课程资源标成剧集。
- 用户资料补做种数、做种体积与注册时间。老版本兼容层的 user.json 没有
  这些字段时改用 PTPP 聚合端点补齐;字段齐全时不重复请求,补充失败也
  不会把已解析成功的资料判成失败。
2026-11-12 20:35:49 +08:00
InfinityPacer
8580eb2cae fix(testing): wire site protocol and lazy module runtime in prepare_backend 2026-11-12 16:58:08 +08:00
InfinityPacer
410722b0bf docs(rules): streamline 05-architecture and align commit authorization note 2026-11-12 16:14:34 +08:00
jxxghp
da327ae968 chore(release): publish v3.2.6 with frontend v3.2.6 2026-11-12 13:43:57 +08:00
jxxghp
cbed026844 Merge pull request #7386 from jxxghp/fix/legacy-rule-ids-7383
fix(filter): migrate legacy rule IDs and diagnose invalid groups
2026-11-12 13:32:29 +08:00
jxxghp
bbc7795230 fix(filter): migrate legacy rule IDs and diagnose invalid groups
Refs #7383
2026-11-12 13:04:36 +08:00
jxxghp
e72830204c fix(download): report indirect ticket failures without blacklisting
换票无响应、HTTP 错误、配方解析失败或无有效地址时,携带脱敏诊断返回“换票失败”并交给 on_failure 上报,不再静默失败或调用 add_invalid。换票所得临时地址返回错误页或非种子内容时标记为“临时下载地址失效”,下一次重新换票;两类失败均使用 1 小时瞬时冷却。直接链接的真实损坏种子仍保留“种子数据有误”和 24 小时黑名单。诊断包含 HTTP 状态、有限错误字段摘要与是否携带 Cookie,并移除凭据和完整签名 URL。

Fixes #7372
2026-11-12 12:50:03 +08:00
jxxghp
6a9cd52ba2 Merge pull request #7385 from jxxghp/fix/issue-7369
fix(transfer): honor scrape defaults and music track overwrite
2026-11-12 11:58:30 +08:00
jxxghp
c488952b23 fix(transfer): honor scrape defaults and music track overwrite
手动整理未显式选择刮削时跟随目标目录设置;音乐自动整理锁定具体发行版本时按唯一曲序写入线上曲名和艺人。

Fixes #7369
Fixes #7379
2026-11-12 11:51:54 +08:00
jxxghp
a3171977d1 Merge pull request #7384 from jxxghp/refactor/site-module-dispatch
refactor(indexer): move site-specific protocols into modules
2026-11-12 11:17:03 +08:00
jxxghp
794856747a test(indexer): cover site connection failure responses 2026-11-12 11:02:03 +08:00
jxxghp
8b152b9fb0 chore: merge latest v3 into site protocol refactor 2026-11-12 10:37:22 +08:00
jxxghp
31acf2b923 Merge pull request #7381 from jxxghp/fix/issue-7368
fix(scraping): honor music album track overwrite policy
2026-11-12 10:14:22 +08:00
jxxghp
2e495e8129 fix(scraping): honor music album track overwrite policy
按音乐标签覆盖策略对专辑曲目做批次唯一匹配,保留有歧义或身份冲突的标签,并在响应和日志中说明处理结果。

Refs #7368
2026-11-12 09:57:48 +08:00
jxxghp
ad7f4a37ba refactor(indexer): move site-specific protocols into modules 2026-11-12 09:57:27 +08:00
jxxghp
8a8fa9d8fb Merge pull request #7376 from jxxghp/fix/piggo-resource-labels
feat(indexer): 支持猪猪资源标签与站点能力分发
2026-11-12 06:52:15 +08:00
jxxghp
a0e27c4424 feat(indexer): map Piggo resource labels
Resolve site labels from the Piggo catalog and dispatch connectivity, ticket parsing, and throttling through indexer capabilities.
2026-11-12 06:45:16 +08:00