This commit is contained in:
jxxghp
2023-06-21 08:41:13 +08:00
parent 243aa28871
commit a538dccc5a
3 changed files with 34 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class MessageChain(ChainBase):
if no_exists:
# 发送消息
messages = [
f"{sea} 季缺失 {len(no_exist.episodes) or no_exist.total_episodes}"
f"{sea} 季缺失 {StringUtils.str_series(no_exist.episodes) if no_exist.episodes else no_exist.total_episodes}"
for sea, no_exist in no_exists.get(mediainfo.tmdb_id).items()]
self.post_message(title=f"{mediainfo.title_year}\n" + "\n".join(messages))
# 搜索种子,过滤掉不需要的剧集,以便选择