mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
Merge pull request #4399 from cddjr/fix_subscribe
This commit is contained in:
@@ -1178,6 +1178,9 @@ class SubscribeChain(ChainBase):
|
|||||||
new_episodes = list(range(max(start_episode, start), total_episode + 1))
|
new_episodes = list(range(max(start_episode, start), total_episode + 1))
|
||||||
# 与原集列表取交集
|
# 与原集列表取交集
|
||||||
episodes = list(set(episode_list).intersection(set(new_episodes)))
|
episodes = list(set(episode_list).intersection(set(new_episodes)))
|
||||||
|
# 交集为空时,说明订阅的剧集均已入库
|
||||||
|
if not episodes:
|
||||||
|
return True, {}
|
||||||
# 更新集合
|
# 更新集合
|
||||||
no_exists[mediakey][begin_season] = schemas.NotExistMediaInfo(
|
no_exists[mediakey][begin_season] = schemas.NotExistMediaInfo(
|
||||||
season=begin_season,
|
season=begin_season,
|
||||||
|
|||||||
Reference in New Issue
Block a user