Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
"name": "订阅助手(增强版)",
"description": "多场景管理订阅,实现订阅全生命周期管理。",
"labels": "订阅",
"version": "0.6.6",
"version": "0.6.7",
"icon": "https://raw.githubusercontent.com/InfinityPacer/MoviePilot-Plugins/main/icons/subscribeassistantenhanced.png",
"author": "InfinityPacer",
"level": 1,
"system_version": ">2.14.1",
"history": {
"v0.6.7": "分集洗版转为全集洗版时保留已下载剧集、当前优先级和分集优先级,避免转换后订阅进度重置。",
"v0.6.6": "修正洗版订阅继承手动总集数的问题,补充分集转全集完成快照,并仅在已有订阅覆盖最新 TMDB 集数时完成自动纠错。",
"v0.6.5": "优化插件品牌图标与配置页视觉效果,提升界面一致性与操作辨识度。",
"v0.6.4": "修正新增订阅时集数刷新事件可能中断插件处理的问题。",
Expand Down
1 change: 1 addition & 0 deletions plugins.v2/subscribeassistantenhanced/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

## 版本更新日志

- v0.6.7:分集洗版转为全集洗版时保留已下载剧集、当前优先级和分集优先级,避免转换后订阅进度重置。
- v0.6.6:修正洗版订阅继承手动总集数的问题,补充分集转全集完成快照,并仅在已有订阅覆盖最新 TMDB 集数时完成自动纠错。
- v0.6.5:优化插件品牌图标与配置页视觉效果,提升界面一致性与操作辨识度。
- v0.6.4:修正新增订阅时集数刷新事件可能中断插件处理的问题。
Expand Down
2 changes: 1 addition & 1 deletion plugins.v2/subscribeassistantenhanced/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class SubscribeAssistantEnhanced(_PluginBase):
# 插件图标
plugin_icon = "https://raw.githubusercontent.com/InfinityPacer/MoviePilot-Plugins/main/icons/subscribeassistantenhanced.png"
# 插件版本
plugin_version = "0.6.6"
plugin_version = "0.6.7"
_site_cache_candidate_helper_warned = False
# 插件作者
plugin_author = "InfinityPacer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

DROP_REBUILT_FIELDS = {
"id", "name", "year", "type", "tmdbid", "imdbid", "tvdbid", "doubanid", "bangumiid",
"poster", "backdrop", "vote", "description", "date", "last_update", "note", "current_priority",
"episode_priority",
"poster", "backdrop", "vote", "description", "date", "last_update",
}


Expand Down
7 changes: 5 additions & 2 deletions tests/v2/subscribeassistantenhanced/test_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ def test_success(self):
username="user",
state="R",
current_priority=50,
episode_priority={"1": 100, "2": 50},
manual_total_episode=92,
note=[1],
note=[1, 2],
)
media = _mediainfo()

Expand All @@ -71,8 +72,10 @@ def test_success(self):
assert add_payload["state"] == "N"
assert add_payload["username"] == "订阅助手(增强版)"
assert add_payload["manual_total_episode"] == 0
assert add_payload["note"] == [1, 2]
assert add_payload["current_priority"] == 50
assert add_payload["episode_priority"] == {"1": 100, "2": 50}
assert "id" not in add_payload
assert "current_priority" not in add_payload
snapshot.assert_called_once_with(subscribe=sub, mediainfo=media, scope=None)
assert call_order == ["snapshot", "delete"]
send_event.assert_called_once()
Expand Down