This commit is contained in:
jxxghp
2023-06-13 14:35:02 +08:00
parent 2b9975b9b2
commit 8776e51b22
11 changed files with 60 additions and 49 deletions

View File

@ -344,8 +344,8 @@ class FileTransferModule(_ModuleBase):
target_dir = target_dir / meidainfo.type.value / meidainfo.category
# 重命名格式
rename_format = settings.MOVIE_RENAME_FORMAT \
if meidainfo.type == MediaType.MOVIE else settings.TV_RENAME_FORMAT
rename_format = settings.TV_RENAME_FORMAT \
if meidainfo.type == MediaType.TV else settings.MOVIE_RENAME_FORMAT
# 判断是否为蓝光原盘
bluray_flag = self.__is_bluray_dir(in_path)