Merge pull request #1923 from thsrite/main

This commit is contained in:
jxxghp 2024-04-19 11:50:31 +08:00 committed by GitHub
commit 148984ad0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -551,8 +551,11 @@ class MetaBase(object):
# 季
if (self.type == MediaType.TV
and not self.begin_season):
if self.begin_season is None and meta.begin_season is not None:
self.begin_season = meta.begin_season
if self.end_season is None and meta.end_season is not None:
self.end_season = meta.end_season
if self.total_season is None and meta.total_season is not None:
self.total_season = meta.total_season
# 开始集
if (self.type == MediaType.TV