Skip to content

Commit

Permalink
fix(name recognize): 仅剧集修正季信息
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyanling committed Sep 2, 2023
1 parent 7a60a77 commit cc399db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/media/meta/metavideov2.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ def __fix_name(self, name):
return name

def __fix_season_info(self):
# 仅剧集修复季信息
if self.media_type == MediaType.MOVIE:
return

# 修正集信息存在,季信息不存在
if not self.begin_season and self.begin_episode:
log.warn("【Meta】存在集信息但不存在季信息,开始修正季为第一季")
Expand Down

0 comments on commit cc399db

Please sign in to comment.