Commit Graph
91 Commits
Author SHA1 Message Date
DDSRemandClaude Sonnet 4.6 10a9e7293a fix(workflow): use MediaChain instead of SearchChain for recognize_by_meta in fetch_torrents
SearchChain does not have a recognize_by_meta method; this belongs to MediaChain.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 18:51:06 +08:00
DDSRemandClaude Sonnet 4.6 e4721fef0c fix(plugin): allow non-core dependency upgrades during plugin install
When a plugin requires a newer minor version of a non-core dependency
(e.g. sentry-sdk ~=2.59.0 while 2.58.0 is installed), the conflict
check now distinguishes upgrade-only conflicts from downgrade conflicts.
Non-core packages that only need upgrading are allowed through; the
runtime constraints file uses >= instead of == for non-core packages so
pip can satisfy the upgrade without risking a downgrade.

Core packages (fastapi, pydantic, sqlalchemy, etc.) remain strictly
pinned and any version mismatch is still rejected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 17:39:28 +08:00
DDSRemandCursor Agent a4f2c574b0 fix(telegram): pass disable_web_page_preview through edit_message_text
Interactive plugin flows edit existing messages; the flag was only applied
on send_message, so link previews stayed enabled after edits.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-04-11 08:31:15 +08:00
DDSRem fd6c9d5d34 feat(plugin): 聚合插件侧栏导航
- PluginManager.get_plugin_sidebar_nav:已启用 Vue 插件且实现 get_sidebar_nav
- schemas.PluginSidebarNavItem 与 verify_token 鉴权接口
2026-04-09 08:03:30 +08:00
DDSRemandClaude Opus 4.6 1b489ba581 feat(transfer): TransferOverwriteCheck 支持插件提供源文件真实大小
strm → strm 整理场景下,源 .strm 的 fileitem.size 同样不准,
size 模式比较仍会失效,新增 source_size 输出字段允许插件同时
覆盖源/目标的真实媒体大小。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 17:28:24 +08:00
DDSRemandClaude Opus 4.6 4d9f17b083 feat(transfer): 新增 TransferOverwriteCheck 事件支持插件介入覆盖判断
允许插件在覆盖模式判断前提供目标文件的真实大小或直接给出覆盖决策,
解决 .strm 等本地大小不准的场景下 size 模式失效的问题。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 17:28:24 +08:00
DDSRem f70881bb4f feat: TransferRename 事件增加 source_item 源文件信息 2026-04-03 17:51:05 +08:00
DDSRemandClaude Opus 4.6 60ac901c6c feat: TransferRename 事件增加 source_path 源文件路径参数
在智能重命名事件中传递源文件路径,便于插件在重命名时获取待整理文件的原始路径信息。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 06:55:06 +08:00
DDSRemandClaude Opus 4.6 388afa8d3c fix(meta): 修复首括号被误删导致标题识别错误
首括号包含完整发布名(如 [Movie.Name.2023.1080p.BluRay-GROUP])时,
保留内容去掉括号而非整体移除;同时修复 _name_movie_words 和
_name_se_words 列表误用为正则表达式的问题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 06:54:11 +08:00
DDSRem c9149d1761 fix(system): 补充 fuse 挂载关键词
fix https://github.com/jxxghp/MoviePilot/issues/5624
2026-04-02 08:53:28 +08:00
DDSRemandClaude Opus 4.6 c68450fc7f refactor(telegram): 显式传递 disable_web_page_preview 参数避免 @retry 下修改 kwargs
将 disable_web_page_preview 从修改 kwargs 字典改为显式传参给 send_message,
避免在 @retry 重试时因共享 kwargs 字典导致潜在问题。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 08:53:10 +08:00
DDSRemandClaude Opus 4.6 d9eb3295b0 fix(telegram): 修复 disable_web_page_preview 传递给不支持的方法及 UTF-16 偏移量问题
1. disable_web_page_preview 仅在 send_message 时传入,避免 send_photo/send_document 抛出 TypeError
2. _embed_entity_links 中将 Telegram UTF-16 编码单位偏移量转换为 Python 字符偏移量,修复含 emoji 等非 BMP 字符时切片错误

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 08:53:10 +08:00
DDSRemandClaude Opus 4.6 5440dbae51 feat(telegram): 支持 disable_web_page_preview 禁用链接预览
Notification schema 新增 disable_web_page_preview 字段,透传至 Telegram send_message,
插件可通过 post_message(disable_web_page_preview=True) 关闭链接预览,
不传时行为与旧版一致,完全向后兼容。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 08:53:10 +08:00
DDSRemandClaude Opus 4.6 321bf94de8 fix(telegram): 转发频道消息无法接收及内容丢失
message_handler 默认只处理 text 类型,转发的媒体消息(视频、图片等)被忽略;
解析器未读取 caption 字段导致媒体消息文字丢失;
新增提取 text_link 实体 URL 和 reply_markup URL 按钮信息到文本中。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 08:53:10 +08:00
DDSRemandClaude Opus 4.6 1acf78342c feat: tmdbid优先识别,同ID电影/电视剧通过元数据自动消歧
当名称中包含 {tmdbid=xxx} 时,优先使用tmdbid直接查询TMDB,不再回退到标题搜索。
当同一tmdbid同时存在电影和电视剧时,通过标题、年份、类型等元数据自动消歧。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 06:45:17 +08:00
DDSRem de4dbf283b feat: 文件名为辅助中文标签时使用父目录标题识别
当文件名(stem)为纯中文压制/字幕辅助标签(如"简英双语特效")且父目录包含
拉丁片名时,清空文件元数据的标题信息,改由父目录标题合并填充,避免识别失败。

新增 infopath 模块集中管理辅助标签判断逻辑与关键词正则。
2026-03-25 09:27:52 +08:00
DDSRem bd68bcfd27 fix: await async config reload handlers
Restore awaiting of async on_config_changed callbacks in ConfigReloadMixin to ensure config reload logic executes correctly.

Made-with: Cursor
2026-03-24 20:44:26 +08:00
DDSRem 4612d3cdde fix: unpin pip tooling in Docker build
Allow Docker builds to install the latest pip and pip-tools versions instead of constraining them, reducing maintenance overhead from version pin drift.

Made-with: Cursor
2026-03-24 19:59:32 +08:00
DDSRem 517300afe9 fix: clean typing issues and refresh runtime dependencies
Align endpoint/module type hints and config reload handling while updating base Python image and package pins to improve build/runtime compatibility.

Made-with: Cursor
2026-03-24 19:21:04 +08:00
DDSRem 8e9cf67190 fix(workflows): operations per run 2026-03-20 19:13:05 +08:00
DDSRem 406e17b3fa fix(docker): locale-gen zh_CN, set LD_PRELOAD in final stage only
fix https://github.com/jxxghp/MoviePilot/commit/858da38680036637948833ed1e3c85ed35c3d107
2026-03-14 14:36:56 +08:00
DDSRem 7638db4c3b fix(plugin): return remoteEntry path without API prefix to avoid double prefix 404
- get_plugin_remote_entry returns /plugin/file/... (relative to API root)
- Frontend already prepends API base; adding API_V1_STR caused /api/v1/api/v1/...

Made-with: Cursor
2026-03-11 15:12:40 +08:00
DDSRem 0312a500a6 refactor(plugin): replace deprecated pkg_resources with importlib.metadata
- Use distributions() in __get_installed_packages for installed packages
- Use packaging.requirements.Requirement, drop pkg_resources dependency
- __standardize_pkg_name: normalize dots to underscores (PEP-style)
- Keep max version when multiple distributions exist for same package

Made-with: Cursor
2026-03-11 14:53:15 +08:00
DDSRem 69a1207102 chore(rtorrent): formatting code 2026-02-22 13:42:27 +08:00
DDSRemandClaude Opus 4.6 def652c768 fix(rtorrent): address code review feedback
- Replace direct _proxy access in transfer_completed with set_torrents_tag(overwrite=True) for proper encapsulation and error logging
- Optimize episode collection by using set accumulation instead of repeated list-set conversions in loop
- Fix type hint for hashs parameter in transfer_completed (str -> Union[str, list])
- Add overwrite parameter to set_torrents_tag to support tag replacement

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 13:40:15 +08:00
DDSRemandClaude Opus 4.6 c35faf5356 feat(downloader): add rTorrent downloader support
Implement rTorrent downloader module via XML-RPC protocol, supporting both HTTP (nginx/ruTorrent proxy) and SCGI connection modes. Add RtorrentModule implementing _ModuleBase and _DownloaderBase interfaces with no extra dependencies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 13:12:22 +08:00
DDSRem e77530bdc5 fix(storages): download directory concatenation error 2026-02-22 12:35:27 +08:00
DDSRem 8c62df63cc fix(u115): download directory concatenation error
fix: https://github.com/jxxghp/MoviePilot/issues/5429
2026-02-22 12:22:58 +08:00
DDSRem d2c023081a fix(openList): openList file upload and retrieval errors
fix https://github.com/jxxghp/MoviePilot/issues/5369
fix https://github.com/jxxghp/MoviePilot/issues/5038
2026-02-22 12:05:14 +08:00
DDSRem a1829fe590 feat: u115 global rate limiting strategy 2026-02-04 23:24:14 +08:00
DDSRem d38b1f5364 feat: u115 support oauth 2026-01-29 22:14:10 +08:00
DDSRem a121e45b94 fix: container resolv cannot be modified 2024-03-17 18:43:54 +08:00
DDSRem 885ee976b2 feat: better cloudflared install 2024-03-17 18:15:29 +08:00
DDSRem 34bbb86c16 fix: plugin directory backup failed 2024-03-01 21:40:46 +08:00
DDSRem 6f6fd6a42e fix: bug 2024-02-20 14:38:36 +08:00
DDSRem 13bb31fd93 fix: bug 2024-02-20 14:35:19 +08:00
DDSRem 5bac94cbc5 fix: bug 2024-02-20 14:34:29 +08:00
daa8d80ec9 feat: startup and update script optimization
1. 修复Shellcheck指出的问题,增强脚本稳定性。
2. 对于更新部分:采取先更新主程序和前端,插件和资源包再更新的原则;主要解决如果插件或资源包没有下载成功,主程序就无法更新成功的问题,但是其实资源包和插件是不影响主程序更新的。

Co-Authored-By: DDSDerek <108336573+DDSDerek@users.noreply.github.com>
Co-Authored-By: Summer⛱ <57806936+honue@users.noreply.github.com>
2024-02-20 14:26:59 +08:00
DDSRem 73484647ba feat: optimize restart update 2023-11-03 18:33:53 +08:00
DDSRem 8b714a4710 feat: emphasis mark 2023-10-21 14:30:42 +08:00
DDSRem a70a4c272c fix: running environment is required 2023-10-21 14:16:31 +08:00
DDSRem 1375179138 feat: issue add operating environment 2023-10-21 14:15:10 +08:00
DDSRem e780485fc6 docs: fix 2023-10-13 21:46:55 +08:00
DDSRem 8213cdba63 docs: fix 2023-10-13 21:44:28 +08:00
DDSRem 8d5b0d4035 docs: fix 2023-10-13 21:43:19 +08:00
DDSRem 3eaa22d068 docs: fix 2023-10-13 21:42:27 +08:00
DDSRem 9a51286c54 docs: fix 2023-10-13 21:20:42 +08:00
DDSRem ddbf93f2c5 docs: fix 2023-10-13 21:16:59 +08:00
DDSRem 418411b10d fix: connector error 2023-10-13 21:14:43 +08:00
DDSRem dceb7340dd fix: rclone version is too low 2023-10-13 21:07:13 +08:00
DDSRem cca898f5b6 feat: docker build use cache 2023-09-29 09:31:47 +08:00
DDSRem 11d17bf21a fix: https://github.com/jxxghp/MoviePilot/pull/654 2023-09-28 19:57:28 +08:00
DDSRem fdf25b8c66 fix: container id retrieval error 2023-09-23 16:04:25 +08:00
52288d98c0 bump: action jobs version
docker/metadata-action@v5
docker/setup-qemu-action@v3
docker/setup-buildx-action@v3
docker/login-action@v3
docker/build-push-action@v5

Co-Authored-By: DDSDerek <108336573+DDSDerek@users.noreply.github.com>
Co-Authored-By: DDSTomo <142158217+ddstomo@users.noreply.github.com>
2023-09-15 20:18:28 +08:00
DDSRem 5e048f0150 feat: 优化容器id获取 2023-09-09 14:18:10 +08:00
DDSRem 42511b95d8 fix: failed to obtain container id 2023-09-09 12:03:48 +08:00
DDSRem 0136d9fe06 fix: port conflict 2023-09-09 10:44:05 +08:00
DDSRem c4898d04aa docs: update 2023-09-08 20:38:07 +08:00
DDSRem c8bc6a4618 fix: 重启更新 2023-09-08 20:33:23 +08:00
DDSRem 55dce26cb8 test: restart 2023-09-08 19:55:03 +08:00
DDSRem ae3b73a73f feat: 优化重启 2023-09-08 19:49:10 +08:00
DDSRem ad5ca69bbb feat: 前端下载前判断版本号是否获取成功 2023-09-02 17:49:14 +08:00
DDSRem b37dc4471e fix: update env 2023-09-02 14:43:33 +08:00
DDSRem 751d405aac fix: update curl 2023-09-02 11:15:44 +08:00
DDSRem 62c1a924e8 feat: dev update 2023-09-02 10:52:19 +08:00
DDSRem e63f52bee5 feat: optimize image size 2023-08-29 22:20:18 +08:00
DDSRem 4b23f3f076 fix: repeat install pysocks 2023-08-27 13:01:18 +08:00
DDSRem 52fac09021 fix: 更新成功提示 2023-08-27 12:38:03 +08:00
DDSRem bb67e902c5 feat: 优化重启更新逻辑
先安装依赖,再替换文件,防止依赖安装失败导致无法正常启动
2023-08-27 12:36:48 +08:00
DDSRem 6206c5f4a3 fix: 优化代码 2023-08-27 12:29:55 +08:00
DDSRem de3d3de411 feat: 依赖安装添加代理 2023-08-27 12:21:12 +08:00
DDSRem e71760afa4 docs: update 2023-08-16 20:55:03 +08:00
DDSRem eb5031f519 fix: bug 2023-08-16 20:20:44 +08:00
DDSRem f9c6cd1e3d docs: update 2023-08-16 18:55:03 +08:00
DDSRem e591a7117d feat: add PROXY_HOST to update 2023-08-16 18:53:08 +08:00
DDSRem 4039724a79 fix: bug 2023-08-16 18:22:47 +08:00
DDSRem 1fcb40f6d7 docs: update 2023-08-16 11:20:49 +08:00
DDSRem 0ab201f9cf docs: update 2023-08-16 11:18:48 +08:00
DDSRem 7072ce4dbc fix: resolved 2023-08-16 11:12:57 +08:00
DDSRem a0951e7a97 docs: update 2023-08-16 11:10:55 +08:00
DDSRem a623b0c1ad fix: https://github.com/jxxghp/MoviePilot/issues/128 2023-08-16 10:52:52 +08:00
DDSRem 6a83ca15ff feat: try to solve nginx permission problem 2023-08-13 12:40:31 +08:00
DDSRem be32d0be1b bump: debian bullseye 2023-08-12 13:33:28 +08:00
DDSRem 1e029c2eb5 bump: python 3.11.4 2023-08-12 13:28:39 +08:00
DDSRem 0e6af73287 fix: libc.musl-arch.so.1 missing 2023-08-12 12:29:20 +08:00
DDSRem e895f8af8d feat: cn update 2023-08-11 11:21:58 +08:00
DDSRem 8ecba2b1e8 fix: start.sh 权限 2023-08-11 11:09:27 +08:00
DDSRem 4d626e5ed3 feat: auto update 2023-08-11 11:01:40 +08:00
DDSRem 1c53a291fb feat: frontend remote download 2023-08-11 10:42:44 +08:00
DDSRem 55d5e12ca8 fix: nginx errors 2023-07-11 12:03:06 +08:00
DDSRem 35e3d85e77 feat: 优化工作流 2023-07-11 11:36:24 +08:00