warzook
b0a842ea0f
fix: map hddolby hr flag to hit_and_run
...
HDDolby 搜索接口每条记录带 hr 字段(0/1),但适配器组装通用种子字典时未输出
hit_and_run,导致浏览资源时前端不显示 H&R 标签、刷流插件与下载通知的 H&R 判断
始终为否。按站点接口语义把 hr 映射为 hit_and_run,并复用文本工具的布尔解析以
兼容数值、字符串与字段缺失。
2026-11-18 13:15:27 +08:00
Huyvux12
b0084dc633
fix(subscribe): keep literal dispatch calls and sync architecture baselines
...
CI Architecture Contract Gate failed on the first push: the variable
indirection 'dispatch = run_module_strict if ... else run_module' made the
static baseline collector lose the run_module call site for media_exists
(it only records literal self.run_module / async_run_module calls), and
the four new subscribe -> mediaserver import edges plus the new optional
parameter were not yet in the snapshots.
Keep both dispatch routes as literal calls so the baseline keeps
recording the lenient call site (run_module_strict calls are not tracked
by the collector, same as the existing strict sites in storage and
_messaging), and regenerate the host baselines plus the architecture
overview edge count for the intentional changes only:
- dependency-baseline.json: +4 edges (chain.subscribe.* -> mediaserver)
- runtime-contract-baseline.json: media_exists += raise_on_query_failure
- docs/architecture-overview.md: 10,329 -> 10,333 edges
2026-11-18 00:05:49 +00:00
Huyvux12
ea4d3cadac
fix(subscribe): do not treat media library query failure as missing episodes
...
A single media library read failure made the whole season look missing:
Jellyfin/Emby get_tv_episodes returns (None, None) on failure and
(None, {}) when not found, but media_exists merged both into None, so
get_no_exists_info wrote a whole-season missing marker and the subscribe
chain re-downloaded episodes that were already archived.
Distinguish the two cases with MediaServerQueryError and an opt-in
raise_on_query_failure flag (default off, TV only): the strict path
raises through run_module_strict instead of being swallowed by lenient
dispatch, and the four subscribe entries skip the round without writing
missing state. Plex cannot distinguish failure from not-found and stays
unchanged; movie/music services are unaffected.
Closes #7444
2026-11-17 22:49:15 +00:00
jxxghp
78b789ca67
fix(api): declare episode metadata pagination contract
2026-11-17 21:13:42 +08:00
jxxghp
bd97204bd6
style(mediaserver): sort episode metadata imports
2026-11-17 21:06:18 +08:00
jxxghp
3c8514cc67
feat(mediaserver): provide episode metadata for library search
2026-11-17 20:57:03 +08:00
jxxghp
a2f19dd377
fix(media): send shared mappings as JSON ( #7442 )
2026-11-17 13:26:30 +08:00
Joseph Perla
371cf18c90
feat(llm): 新增 TrustedRouter provider ( #7441 )
2026-11-17 10:09:33 +08:00
jxxghp
f9d8b1106a
test(auth): cover channel approval and revocation boundaries
2026-11-17 09:07:53 +08:00
jxxghp
914481ad2d
feat(auth): unify notification channel authorization
2026-11-17 01:36:08 +08:00
jxxghp
bb1ced76ce
feat(media): 共享并缓存非 TMDB 到 TMDB 的转换关系 ( #7440 )
...
* feat(media): reuse shared source to TMDB mappings
* test(media): cover shared target fallback and invalid reports
2026-11-16 22:35:21 +08:00
jxxghp
103589ab87
fix(subscribe): deduplicate subscriptions across media sources
2026-11-16 14:53:57 +08:00
jxxghp
7a030f5b21
fix(storage): 核验 115 上传回调并隔离不确定结果 ( #7434 )
...
* fix(storage): verify 115 upload callbacks before retry
Preserve uncertain completion results for manual review instead of replaying uploads. Refs #7433 .
* docs: sync architecture import count
2026-11-16 11:53:10 +08:00
jxxghp
d747eba318
fix(cache): back off repeated async Redis reads ( #7431 )
...
* fix(cache): back off repeated async Redis reads
* test(architecture): sync Redis egress fingerprint
2026-11-16 07:57:02 +08:00
sloth
28e9e2e65b
fix(search): 翻页失败时保留已获取的搜索结果 ( #7429 )
2026-11-16 07:18:17 +08:00
jxxghp
070fc18d58
fix(mediaserver): complete stream API contracts
2026-11-15 17:48:06 +08:00
jxxghp
68d4522246
feat(mediaserver): add authorized range streaming
2026-11-15 17:23:42 +08:00
jxxghp
30edd8ec10
fix(transfer): allow one manual AI replan beyond retry budget ( #7425 )
2026-11-15 08:27:12 +08:00
jxxghp
3560e3bc18
Merge pull request #7422 from pcbeingused333/fix/wechat-none-title
2026-11-15 07:07:28 +08:00
CHANTXU64
6f8a04abeb
fix(subscribe): 手工末集号按实际集号裁剪缺集,整季记账只移除已下载的季
...
上一提交只在本季从第 1 集起且前段不断号时写出目标集;断号季和累计编号季
仍按缺整季处理,例如订阅 E01–E11 时整包连范围外的 E12 一起提交,
订阅 E13–E18 时含 E13–E24 的整包又因文件数少于末集号被拒。
- 订阅总集数为手工指定时,get_no_exists_info 按季内末集号计算目标范围
(新增仅限关键字参数 totals_are_episode_numbers,默认行为不变),
覆盖累计编号与断号;范围内 TMDB 尚未列出的集继续等待补集
- update_no_exists_seasons 只移除本次成功下载的季,不再连带清掉
其他季的显式缺集
- 非正数总集数按未设置处理,避免空目标切片导致缺集查询中断
- 合并缺集计算的两条分支,get_no_exists_info 复杂度由 23 降到 17,
同步下调复杂度基线
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-15 00:39:34 +08:00
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
da424ba918
fix(transfer): 完善显式身份识别与重规划技能契约
2026-11-15 00:14:58 +08:00
jxxghp
8122337427
fix(download): preserve recognized season and episode mapping
2026-11-14 23:35:31 +08:00
jxxghp
b339a7452b
fix(transfer): preserve zero episode numbers during offset
2026-11-14 23:23:14 +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
Alex Castillo
092017f9e7
fix(notification): omit missing title in WeChat text messages
...
A text-only notification (title=None) was formatted as "None\n<text>".
Send only the body when the title is missing.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-14 05:12:12 -04:00
jxxghp
ec12c15ecd
fix(rss): recover missing and expired site feeds safely
2026-11-14 14:16:41 +08:00
jxxghp
07482e1321
fix(classification): prioritize children's TV categories
2026-11-14 11:11:46 +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
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
Alex Castillo
691b7d84ad
fix(jellyfin): use dedicated routes for additional library types
2026-11-12 15:57:48 -04: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
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
c488952b23
fix(transfer): honor scrape defaults and music track overwrite
...
手动整理未显式选择刮削时跟随目标目录设置;音乐自动整理锁定具体发行版本时按唯一曲序写入线上曲名和艺人。
Fixes #7369
Fixes #7379
2026-11-12 11:51:54 +08:00
jxxghp
8b152b9fb0
chore: merge latest v3 into site protocol refactor
2026-11-12 10:37:22 +08:00
jxxghp
2e495e8129
fix(scraping): honor music album track overwrite policy
...
按音乐标签覆盖策略对专辑曲目做批次唯一匹配,保留有歧义或身份冲突的标签,并在响应和日志中说明处理结果。
Refs #7368
2026-11-12 09:57:48 +08:00