fix 剧集文件命名没有季,默认1
This commit is contained in:
parent
e405c98bae
commit
dadad74085
@ -371,6 +371,8 @@ class MetaVideo(MetaBase):
|
|||||||
self.type = MediaType.TV
|
self.type = MediaType.TV
|
||||||
elif token.upper() == "SEASON" and self.begin_season is None:
|
elif token.upper() == "SEASON" and self.begin_season is None:
|
||||||
self._last_token_type = "SEASON"
|
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):
|
def __init_episode(self, token: str):
|
||||||
re_res = re.findall(r"%s" % self._episode_re, token, re.IGNORECASE)
|
re_res = re.findall(r"%s" % self._episode_re, token, re.IGNORECASE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user