From 0a8b667819c7917c426876479b442a5ac6fba383 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 13 Aug 2023 09:44:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20Webhook=E6=B6=88=E6=81=AF=E9=9B=86?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chain/webhook.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/chain/webhook.py b/app/chain/webhook.py index 281ef341..f9714769 100644 --- a/app/chain/webhook.py +++ b/app/chain/webhook.py @@ -78,10 +78,9 @@ class WebhookChain(ChainBase): # 查询剧集图片 if event_info.tmdb_id \ and event_info.season_id: - mtype = MediaType.TV if event_info.item_type == "TV" else MediaType.MOVIE specific_image = self.obtain_specific_image( mediaid=event_info.tmdb_id, - mtype=mtype, + mtype=MediaType.TV, image_type=MediaImageType.Backdrop, season=event_info.season_id, episode=event_info.episode_id