mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
Update app/core/meta/metavideo.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent
74d4592238
commit
7c48cafc71
@@ -76,7 +76,7 @@ class MetaVideo(MetaBase):
|
|||||||
self.type = MediaType.TV
|
self.type = MediaType.TV
|
||||||
return
|
return
|
||||||
# 全名为Season xx 及 Sxx 直接返回
|
# 全名为Season xx 及 Sxx 直接返回
|
||||||
season_full_res = re.search(r"^(?:Season\s+|S)(\d{1,3})$", title)
|
season_full_res = re.search(r"^(?:Season\s+|S)(\d{1,3})$", title, re.IGNORECASE)
|
||||||
if season_full_res:
|
if season_full_res:
|
||||||
self.type = MediaType.TV
|
self.type = MediaType.TV
|
||||||
season = season_full_res.group(1)
|
season = season_full_res.group(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user