From 27b65c3ec916bb3330df020ae5a9b94c4261b55c Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 6 Jun 2023 23:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20context.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/context.py b/app/core/context.py index 6015cfaa..2c1eb8dc 100644 --- a/app/core/context.py +++ b/app/core/context.py @@ -263,10 +263,10 @@ class MediaInfo(object): self.seasons[season_info.get("season_number")] = list(range(1, episode_count + 1)) # 海报 if info.get('poster_path'): - self.poster_path = f"https://{settings.TMDB_IMAGE_DOMAIN}{info.get('poster_path')}" + self.poster_path = f"https://{settings.TMDB_IMAGE_DOMAIN}/t/p/original{info.get('poster_path')}" # 背景 if info.get('backdrop_path'): - self.backdrop_path = f"https://{settings.TMDB_IMAGE_DOMAIN}{info.get('backdrop_path')}" + self.backdrop_path = f"https://{settings.TMDB_IMAGE_DOMAIN}/t/p/original{info.get('backdrop_path')}" # 导演和演员 self.directors, self.actors = __directors_actors(info)