feat: add full-season pack option for TV best-version subscriptions

- Introduce `best_version_full` field to subscribe and subscribehistory models and migration
- Update subscription logic to support only downloading full-season packs when enabled
- Extend CLI, API, and documentation to reflect new option
- Add tests for full-season best-version behavior
This commit is contained in:
jxxghp
2026-05-13 16:53:24 +08:00
parent f0bc1bd681
commit 0959c4ace4
10 changed files with 184 additions and 2 deletions
+2
View File
@@ -60,6 +60,8 @@ class SubscribeHistory(Base):
sites = Column(JSON)
# 是否洗版
best_version = Column(Integer, default=0)
# 是否只洗全集整包,开启后电视剧洗版不按单集下载
best_version_full = Column(Integer, default=0)
# 洗版时已下载剧集的优先级状态,格式:{"1": 90, "2": 100}
episode_priority = Column(JSON)
# 保存路径