From c448870fa86f12b9ddf7449dc1c8db05e3a6fd4b Mon Sep 17 00:00:00 2001 From: mo_yy Date: Mon, 17 Feb 2020 18:24:43 +0800 Subject: [PATCH] 3.72 --- AVDC_Main.py | 8 +++++--- update_check.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/AVDC_Main.py b/AVDC_Main.py index 901339b3e..45563653d 100644 --- a/AVDC_Main.py +++ b/AVDC_Main.py @@ -34,7 +34,7 @@ def __init__(self, parent=None): self.Ui.setupUi(self) # 初始化Ui self.Init_Ui() # 初始化需要的变量 - self.version = '3.71' + self.version = '3.72' self.m_drag = False self.m_DragPosition = 0 self.item_succ = self.Ui.treeWidget_number.topLevelItem(0) @@ -1046,6 +1046,8 @@ def creatFolder(self, success_folder, json_data, config): json_data) if len(actor.split(',')) >= 15: actor = actor.split(',')[0] + ',' + actor.split(',')[1] + ',' + actor.split(',')[2] + '等演员' + if 'N/A' in actor: + actor = 'Unknown' folder_name = json_data['folder_name'] path = folder_name.replace('title', title).replace('studio', studio).replace('year', year).replace('runtime', runtime).replace( @@ -1285,12 +1287,12 @@ def AVDC_Main(self): if config['common']['soft_link'] == '1': self.add_text_main('[-]Link ' + movie + ' to failed folder') try: - os.symlink(movie, curr_path + '/' + 'failed/') + os.symlink(movie, curr_path + '/' + failed_folder + '/') except Exception as error_info: self.add_text_main('[-]Error in AVDC_Main: ' + str(error_info)) else: try: - shutil.move(movie, curr_path + '/' + 'failed/') + shutil.move(movie, curr_path + '/' + failed_folder + '/') self.add_text_main('[-]Move ' + movie + ' to failed folder') except shutil.Error as error_info: self.add_text_main('[-]Error in AVDC_Main: ' + str(error_info)) diff --git a/update_check.json b/update_check.json index 261706243..0b93fd8f3 100644 --- a/update_check.json +++ b/update_check.json @@ -1,5 +1,5 @@ { - "version": "3.71", - "version_show":"3.71", + "version": "3.72", + "version_show":"3.72", "download": "https://github.com/moyy996/AVDC/releases" }