mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
修复 手动刮削电视剧目录可能会遗漏特别季
This commit is contained in:
+5
-1
@@ -665,7 +665,11 @@ class MediaChain(ChainBase):
|
|||||||
if recursive:
|
if recursive:
|
||||||
files = __list_files(_fileitem=fileitem)
|
files = __list_files(_fileitem=fileitem)
|
||||||
for file in files:
|
for file in files:
|
||||||
if file.type == "dir" and not file.name.lower().startswith("season"):
|
if (
|
||||||
|
file.type == "dir"
|
||||||
|
and file.name not in settings.RENAME_FORMAT_S0_NAMES
|
||||||
|
and not file.name.lower().startswith("season")
|
||||||
|
):
|
||||||
# 电视剧不处理非季子目录
|
# 电视剧不处理非季子目录
|
||||||
continue
|
continue
|
||||||
self.scrape_metadata(fileitem=file,
|
self.scrape_metadata(fileitem=file,
|
||||||
|
|||||||
Reference in New Issue
Block a user