Commit Graph

11037 Commits

Author SHA1 Message Date
LIN student
1b373e2eaa fix(llm): keep saved relay provider configurations working 2026-11-25 21:42:28 +08:00
Cat
8995e9bfc7 fix(download): confirm pending tasks with same-instance history (#7605) 2026-11-25 21:42:10 +08:00
jxxghp
4faafaedc2 Merge pull request #7604 from MiCat-S/fix/episode-probe-torrent-cooldown 2026-11-25 21:41:54 +08:00
Cat
a76d1ff9b9 fix(event): 错误通知渠道失败时不再递归广播 SystemError (#7603) 2026-11-25 21:41:37 +08:00
DoraTiger
04a6a31ee3 fix(llm): prefer Responses for official ChatGPT API key auto routing (#7602) 2026-11-25 21:41:08 +08:00
Cat
4b21ea8b94 test(plugin): 补齐联邦产物哈希的越界与读取失败用例 (#7611) 2026-11-25 21:35:55 +08:00
jxxghp
e692f7693e feat(mediaserver): support HEAD probing, standard audio MIME types, and 64KB progressive chunks for local audio streaming 2026-11-25 20:43:05 +08:00
LIN student
cc00ce6b79 fix(download): avoid blacklisting one-shot episode probes 2026-11-25 20:14:47 +08:00
jxxghp
583d678e7c feat(plugin): expose plugin version and remote bundle hash in remotes endpoint 2026-11-25 18:49:44 +08:00
jxxghp
bf097becf1 test(mediaserver): cover MediaServerChain playback session and auth wrappers 2026-11-25 15:42:44 +08:00
jxxghp
5b198606e7 feat(mediaserver): add client direct-play route negotiation and fix playback sync CI gates 2026-11-25 15:32:35 +08:00
jxxghp
a8398e220d feat(mediaserver): add unified live playback session sync and per-user account bindings 2026-11-25 15:04:13 +08:00
InfinityPacer
37308d0e5a feat(download): add ResourceSubmit event and expose torrent resource identity 2026-11-25 10:53:19 +08:00
DoraTiger
e1578fae6d fix(jellyfin): skip library probe when selecting an admin (#7594) 2026-11-25 07:24:05 +08:00
jxxghp
252ef8ee88 chore(release): publish v3.2.13 2026-11-25 07:17:28 +08:00
jxxghp
86635b5ae2 docs(skills): sync generated moviepilot-api skill docs with strm schema 2026-11-24 23:45:11 +08:00
jxxghp
9b7b37d3be feat(mediaserver): expose sanitized strm direct urls in stream-info manifests 2026-11-24 23:27:44 +08:00
jxxghp
b78f165885 fix(transfer): accumulate file size for directory transfers (#7588) (#7592)
Accumulate file_count and total_size across all transferred leaf files in TransHandler.execute_transfer_plan's directory branch (preferring the frozen source size and falling back to the materialized target item size), so aggregated success notifications report the real transferred size instead of 0.0B for BDMV and regular directories.

Also preserve TransferInfo.total_size in TransferSettlementOwner's legacy non-aggregated notification fallback when jobview.size() returns 0 (e.g. after moving local directories or transferring remote directories).

Fixes #7588
2026-11-24 23:08:24 +08:00
irab-liu
674ba8f50f fix(download): avoid retry and alert when reading torrent only to parse episodes (#7591) 2026-11-24 22:35:29 +08:00
irab-liu
7aba9d8d6d fix(search): release covered episodes when remaining missing are all unreleased (#7587) 2026-11-24 22:34:52 +08:00
Huyvux12
7834a64890 fix(http): 临时事件循环退出时关闭共享 transport,修复连接泄漏 (#7585) 2026-11-24 17:55:45 +08:00
jxxghp
a2361ba789 chore(release): publish v3.2.12 2026-11-24 17:34:22 +08:00
DDSRem
2ec170b953 chore: bump moviepilot-rust to 0.3.16 (#7583) 2026-11-24 16:48:03 +08:00
jxxghp
2b0ef727c8 fix(api): validate positive pagination on database history endpoints (#7579) 2026-11-24 15:59:12 +08:00
jxxghp
d893e1a8dc fix(calendar): expose start_episode in calendar subscription summary
Include start_episode in CalendarSubscription so calendar views can distinguish skipped pre-start episodes from actual library progress, and align completed_episode docstrings with the full-season denominator contract.
2026-11-24 15:50:39 +08:00
jxxghp
5301baa11c docs(architecture): sync dependency edge count in overview 2026-11-24 14:26:24 +08:00
jxxghp
3a519c39bb feat(site): support default site User-Agent option (#7571) 2026-11-24 14:14:35 +08:00
jxxghp
46e4c1e5e4 feat(meta): allow custom_words to include global rules via @global (#7540) (#7578) 2026-11-24 13:54:49 +08:00
jxxghp
2246fdb3c5 fix(indexer): skip Turnstile-gated HDWing promotion and strip hidden honeypots (#7577) 2026-11-24 12:45:32 +08:00
Huyvux12
2b4740bae3 fix(filemanager): keep partial filename within NAME_MAX for long dest names (#7574)
* fix(filemanager): keep partial filename within NAME_MAX for long dest names

_partial_path() appended '.' + uuid32 + '.mp-partial' to the full dest
name, so a valid 218-byte dest produced a 263-byte temp name and
_write_atomically() failed with ENAMETOOLONG. Budget the temp name
against PC_NAME_MAX (fallback 255): keep short names byte-identical,
truncate long dest names at UTF-8 char boundaries (os.fsencode, so
non-UTF-8 names round-trip), and shrink the uuid token when NAME_MAX
is abnormally small. Same directory, hidden prefix, uniqueness and
atomic replace semantics are unchanged.

Fixes #7572

* fix(filemanager): harden partial filename budgeting and fix lint gates

- Guard _resolve_name_max against missing os.pathconf on Windows and indeterminate <=0 POSIX limits
- Avoid double-dot prefix when multibyte leading char exceeds a tiny remaining budget
- Retry fsproxy.copy once with compact temp name when mount enforces stricter limit than PC_NAME_MAX
- Reuse bounded hidden temp naming for dangling symlink atomic repair in softlink()
- Fix pylint E0611 schema import, ruff F541 diagnostic, and APFS raw-byte test portability

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-24 12:37:20 +08:00
jxxghp
0f9d72a7f5 fix(message): align full message history endpoint and contracts (#7576) 2026-11-24 12:33:01 +08:00
jxxghp
358fd2bfe5 fix(site): restore clear connectivity test success message 2026-11-24 08:20:42 +08:00
jxxghp
fda8d5cbb3 fix(module): harden service hot-reload isolation, recovery, and health diagnostics (#7569) 2026-11-23 23:55:44 +08:00
jxxghp
dc9b8252f8 test(download): cover TMDB identity conversion fallback and multi-season branches (#7566) 2026-11-23 22:46:27 +08:00
jxxghp
ef96de6518 test(widget): align auth and snapshot clocks in dependency assembly test
Use the real assembled WidgetAuthService instance instead of the frozen-clock fixture auth in test_widget_dependency_assembly_and_absent_capability so credentials issued against wall clock do not expire after 2026-11-23.
2026-11-23 22:38:02 +08:00
jxxghp
b6e0daff0d feat(download): convert manual downloads to TMDB primary identity (#7566)
Reuse cross-source TMDB projection and full recognition across manual download API and interactive messaging paths when RECOGNIZE_SOURCE=themoviedb, preserving TV season/episode/episode_group checks, external ID and origin_media traceability, warning fallback on mismatch, and post-ResourceDownload context sync.
2026-11-23 22:31:52 +08:00
jxxghp
6201565019 feat(music): add automatic album track alignment setting MUSIC_TRACK_MATCH (#7436) 2026-11-23 20:50:25 +08:00
jxxghp
af4bf69aa4 fix(transfer): align preview endpoint with host concurrency and schema export gates 2026-11-23 20:49:17 +08:00
jxxghp
a2fdadeb02 feat(transfer): add name and target directory preview endpoint for recognition test 2026-11-23 20:22:32 +08:00
jxxghp
4c8c45c8c8 fix(messaging): restore traditional media interaction for approved channel members when agent is disabled 2026-11-23 20:08:09 +08:00
flippedyizheng
d5794b6d51 fix(metainfo): override bare-digit episode guess on explicit SxxEyy (#7562) 2026-11-23 19:15:11 +08:00
InfinityPacer
48ebbb78c5 test(llm): cover generic openai and anthropic endpoint model discovery 2026-11-23 18:20:10 +08:00
InfinityPacer
15066d5fe5 feat(llm): add generic anthropic-compatible provider and prune relay catalog 2026-11-23 18:20:10 +08:00
JontyLee
1f3644ada2 feat(agent): add read-only read_log tool (#7273)
* feat(agent): 新增日志只读诊断会话与 read_log 工具

日志页需要一键呼叫智能助手分析日志,且 AI 在用户确认前不得执行修复。
诊断请求通过 diagnostic 标记进入只读会话:工具与中间件按白名单裁剪
(read_log/read_file/query_doctor_report/read_tool_result/update_plan),
并追加诊断提示词;read_log 仅允许读取 LOG_PATH 下的 .log 文件。

* chore(architecture): 复核登记 read_log 工具的类型例外与依赖基线

按既有 async-tool-run 模式为 ReadLogTool.run 登记唯一 override 豁免,
同步依赖基线新增的 11 条边与模块计数,并更新架构总览引用的快照数字。

* refactor(agent): 按评审意见撤除诊断会话侵入,改为提示词软限制

维护者要求智能体保持通用能力、分支场景用提示词约束,不建议在主流程落代码。
本提交将 #7273 中贯穿 schemas、API、WebAgent 流、会话队列与编排器的
diagnostic 只读会话标记、工具/中间件白名单裁剪及对应测试全部撤除,
回到 v3 基线的通用链路;保留与主流程无关的通用 read_log 只读日志工具
及其注册、策略登记、工具测试、文档与架构基线。日志诊断的"只分析、
不执行修复、等确认"约束改由前端提示词表达。

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-23 17:51:04 +08:00
txltedXgod
cb9c7646b9 fix(meta): prioritize Fin episode range over subtitle period label (#7380)
Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-23 17:43:56 +08:00
jxxghp
9640182515 fix(modules): parenthesize multi-exception clauses in plex and ugreen 2026-11-23 17:35:54 +08:00
jxxghp
fa9416d652 Merge pull request #7559 from jxxghp/chore/bump-moviepilot-rust-0.3.15 2026-11-23 17:16:58 +08:00
jxxghp
050e377cd1 chore: bump moviepilot-rust to 0.3.15 2026-11-23 09:14:59 +00:00
flippedyizheng
f4f5930ad5 fix(metainfo): ignore 8-char hex CRC32 checksums in video parsing (#7558)
Strip bracketed 8-character hexadecimal CRC32 checksum tags (containing
both digits and hex letters) and skip unbracketed CRC32 tokens in
MetaVideo so checksums like [B7858E21] are not misparsed as episode E21.

Refs #7557

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-11-23 17:01:08 +08:00
iamchq
778bde05b7 fix(metainfo): preserve single zero title token in python fallback parser (#7556)
* fix(metainfo): keep single zero sequel token in python fallback parser

对齐 jxxghp/MoviePilot-Rust#26(已随 0.3.14 发布):片名结尾的单个 0 在前一个词元
不是纯数字、且后继是季、集或四位年份时必须保留,2.0 音轨分数与 01 序号仍丢弃。
新增 Tokens.prev() 供前驱判定使用,并补充加速器与兜底入口的成对期望值。

* test(metainfo): cover Tokens.prev cursor offset

补上覆盖率棘轮要求:直接断言 cur() 是后继、prev() 是前驱,覆盖空前驱分支。
2026-11-23 16:45:17 +08:00