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
2023-10-09 12:57:52 +08:00
2023-08-29 22:35:46 +08:00

MoviePilot

简体中文 | English

GitHub Repo stars GitHub forks GitHub contributors GitHub repo size GitHub issues Docker Pulls Docker Pulls V2 Docker Pulls V3 Platform

Redesigned from parts of NAStool, with a stronger focus on core automation scenarios while reducing issues and making the project easier to extend and maintain.

For learning and personal communication only. Please do not promote this project on platforms in mainland China.

Release channel: https://t.me/moviepilot_channel

Key Features

  • Focuses on the core media automation flow: subscriptions, search, downloads, file organization, scraping, media server refresh, and notifications.
  • Uses a separated backend/frontend architecture: FastAPI for the backend and Vue 3 for the frontend.
  • Connects download clients, media servers, metadata providers, message channels, plugins, workflows, and AI Agent capabilities.
  • For feature details, screenshots, and product entry points, see https://movie-pilot.org

Installation and Usage

Docker is the recommended deployment model. V3 uses the dedicated jxxghp/moviepilot-v3 image; V2 and legacy images keep their existing names. Compose examples, environment variables, volume mappings, and upgrade notes are maintained in the official wiki:

MoviePilot can also be installed and managed from source with the local CLI:

curl -fsSL https://raw.githubusercontent.com/jxxghp/MoviePilot/v3/scripts/bootstrap-local.sh | bash

After installation, use the moviepilot command for initialization, service management, updates, and configuration. See docs/cli.md for the full command reference.

Agent

  1. MoviePilot includes a built-in AI Agent. After model configuration, it can call system tools through natural language to help with search, subscriptions, downloads, organization, diagnostics, and other management tasks.

  2. Other agents can import the repository skills/ directory to gain MoviePilot operation capabilities. Environments that support the skills CLI can use:

    npx skills add https://github.com/jxxghp/MoviePilot
    

    Built-in skills live in skills/. For custom skill authoring, see skills/create-moviepilot-skill/SKILL.md.

  3. Other MCP clients can call MoviePilot tools through /api/v1/mcp. Authentication, client configuration, and tool APIs are documented in docs/mcp-api.md.

Development

Before contributing, read the repository rules and local environment guide, keep changes focused, and validate them before opening a PR. Useful entry points:

Disclaimer

  • This software is for learning and personal communication only. It must not be used for commercial purposes or illegal activities. The software does not know how users choose to use it, and all responsibility rests with the user.
  • The source code is open source and derived from other open-source code. If someone removes the relevant restrictions and redistributes or publishes modified versions that lead to liability events, the publisher of those modifications bears full responsibility. Public releases that bypass or alter the user authentication mechanism are not recommended.
  • This project does not accept donations and has not published any donation page anywhere. The software itself is free of charge and does not provide paid services. Please verify information carefully to avoid being misled.

Contributors

Description
No description provided
Readme GPL-3.0 108 MiB
Languages
Python 99.4%
Shell 0.4%
Dockerfile 0.2%