fix(mediaservermsg): 优化剧集图片查询逻辑

- 修改查询条件,仅当项目类型为TV或SHOW时执行剧集图片查询
This commit is contained in:
noone
2025-12-10 10:41:55 +08:00
parent 07c6ee1341
commit 707feedda2

View File

@@ -520,7 +520,7 @@ class MediaServerMsg(_PluginBase):
)
# 查询剧集图片
else:
elif event_info.item_type in ["TV", "SHOW"]:
season_id = event_info.season_id if event_info.season_id else None
episode_id = event_info.episode_id if event_info.episode_id else None