From c14e529c914132383cad53c5adcc58468d01c7d4 Mon Sep 17 00:00:00 2001 From: thsrite Date: Fri, 19 Apr 2024 10:26:34 +0800 Subject: [PATCH] fix #1921 --- app/core/meta/metabase.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/core/meta/metabase.py b/app/core/meta/metabase.py index 8cfdd6a1..9fa0c46c 100644 --- a/app/core/meta/metabase.py +++ b/app/core/meta/metabase.py @@ -551,9 +551,12 @@ class MetaBase(object): # 季 if (self.type == MediaType.TV and not self.begin_season): - self.begin_season = meta.begin_season - self.end_season = meta.end_season - self.total_season = meta.total_season + if not self.begin_season and meta.begin_season: + self.begin_season = meta.begin_season + if not self.end_season and meta.end_season: + self.end_season = meta.end_season + if not self.total_season and meta.total_season: + self.total_season = meta.total_season # 开始集 if (self.type == MediaType.TV and not self.begin_episode):