diff --git a/src/models/core/scraper.py b/src/models/core/scraper.py index 5acbca6..df4142e 100644 --- a/src/models/core/scraper.py +++ b/src/models/core/scraper.py @@ -265,6 +265,11 @@ def deal_tag_data(tag): return False, json_data # 返回MDCx1_1main, 继续处理下一个文件 save_success_list(file_path, file_new_path) # 保存成功列表 + # 创建软链接及复制文件 + if config.auto_link: + target_dir = os.path.join(config.localdisk_path, os.path.relpath(folder_new_path, success_folder)) + newtdisk_creat_symlink('copy_netdisk_nfo' in config.switch_on, folder_new_path, target_dir) + # json添加封面缩略图路径 # json_data['number'] = movie_number json_data['poster_path'] = poster_final_path diff --git a/src/views/MDCx.py b/src/views/MDCx.py index 76bf9d7..96b7fab 100644 --- a/src/views/MDCx.py +++ b/src/views/MDCx.py @@ -10946,7 +10946,7 @@ def retranslateUi(self, MDCx): self.pushButton_select_localdisk_path.setText(_translate("MDCx", "选择目录")) self.checkBox_copy_netdisk_nfo.setText(_translate("MDCx", "同时复制网盘目录的nfo、图片、字幕文件到软链接目录")) self.label_341.setText(_translate("MDCx", "勾选后将同时复制网盘中刮削好的nfo等文件到本地,或者你也可以重新刮削这些软链接")) - self.checkBox_create_link.setText(_translate("MDCx", "刮削结束后自动创建软链接")) + self.checkBox_create_link.setText(_translate("MDCx", "刮削过程中自动创建软链接")) self.groupBox_16.setTitle(_translate("MDCx", "刮削目录")) self.pushButton_select_softlink_folder.setText(_translate("MDCx", "选择目录")) self.label_58.setText(_translate("MDCx", "指不想要刮削的目录,可以填写多个目录,以逗号分开(中英文逗号都可以)")) diff --git a/src/views/MDCx.ui b/src/views/MDCx.ui index 4ad5b9c..e0b9127 100644 --- a/src/views/MDCx.ui +++ b/src/views/MDCx.ui @@ -2271,7 +2271,7 @@ li.checked::marker { content: "\2612"; } - 刮削结束后自动创建软链接 + 刮削过程中自动创建软链接