From dadad74085826756c7cfac6c86fd4ec678f6ffa3 Mon Sep 17 00:00:00 2001 From: thsrite Date: Mon, 28 Aug 2023 10:00:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=89=A7=E9=9B=86=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E6=B2=A1=E6=9C=89=E5=AD=A3=EF=BC=8C=E9=BB=98?= =?UTF-8?q?=E8=AE=A41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/meta/metavideo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/core/meta/metavideo.py b/app/core/meta/metavideo.py index 0c20ebc9..3c01ea84 100644 --- a/app/core/meta/metavideo.py +++ b/app/core/meta/metavideo.py @@ -371,6 +371,8 @@ class MetaVideo(MetaBase): self.type = MediaType.TV elif token.upper() == "SEASON" and self.begin_season is None: self._last_token_type = "SEASON" + elif self.type == MediaType.TV and self.begin_season is None: + self.begin_season = 1 def __init_episode(self, token: str): re_res = re.findall(r"%s" % self._episode_re, token, re.IGNORECASE)