mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-27 03:51:03 +08:00
fix: normal rename logger
This commit is contained in:
@@ -37,6 +37,11 @@ class Renamer(DownloadClient):
|
||||
return f"{file_info.title} S{season}E{episode}{file_info.suffix}"
|
||||
elif method == "advance":
|
||||
return f"{bangumi_name} S{season}E{episode}{file_info.suffix}"
|
||||
elif method == "normal":
|
||||
logger.warning(
|
||||
"[Renamer] Normal rename method is deprecated."
|
||||
)
|
||||
return file_info.media_path
|
||||
elif method == "subtitle_pn":
|
||||
return f"{file_info.title} S{season}E{episode}.{file_info.language}{file_info.suffix}"
|
||||
elif method == "subtitle_advance":
|
||||
|
||||
Reference in New Issue
Block a user