feat: 迁移插件与发布链至 MoviePilot V3 - #371
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
将当前维护的插件与发布链迁移到 MoviePilot V3,同时保留仍能被 V3 加载的 V1/V2 兼容实现。
主要改动
package.v3.json与plugins.v3/,提供 5 个 V3 专用实现:SubscribeAssistantEnhanced0.7BrushFlowLowFreq4.5PlexEdition1.3PlexPersonMeta2.4PlexMatch1.4media_source/media_id媒体身份,适配 V3 API 响应结构,且仅处理电影和电视剧,不处理音乐。SubscribeAssistant不支持 V3;5 个已有 V3 专用副本的旧实现同样在package.v2.json标记v3: false,防止回退加载。tests/v3运行 V3 专用实现,tests/v2按package.v2.json动态运行未声明v3: false的兼容实现。package.json、package.v2.json与package.v3.json;V1/V2 兼容插件仍可发布,V3 专用插件从plugins.v3/<id>打包。history仅保留当前版本;只同步旧实现已有的 README,未为 PlexEdition 和 PlexMatch 新增 README。验证
42 passed, 1 skipped,V3 专用实现1375 passed,V2 兼容实现81 passed1350 passed,行覆盖率 93.24%,方法覆盖率 98.01%git diff --check通过