Update 3.5.2
This commit is contained in:
@@ -66,31 +66,31 @@ def create_data_and_move(file_path: str, c: config.Config):
|
|||||||
# Normalized number, eg: 111xxx-222.mp4 -> xxx-222.mp4
|
# Normalized number, eg: 111xxx-222.mp4 -> xxx-222.mp4
|
||||||
n_number = get_number(file_path)
|
n_number = get_number(file_path)
|
||||||
|
|
||||||
print("[!]Making Data for [{}], the number is [{}]".format(file_path, n_number))
|
# print("[!]Making Data for [{}], the number is [{}]".format(file_path, n_number))
|
||||||
core_main(file_path, n_number, c)
|
# core_main(file_path, n_number, c)
|
||||||
print("[*]======================================================")
|
# print("[*]======================================================")
|
||||||
|
|
||||||
# try:
|
try:
|
||||||
# print("[!]Making Data for [{}], the number is [{}]".format(file_path, n_number))
|
print("[!]Making Data for [{}], the number is [{}]".format(file_path, n_number))
|
||||||
# core_main(file_path, n_number, c)
|
core_main(file_path, n_number, c)
|
||||||
# print("[*]======================================================")
|
print("[*]======================================================")
|
||||||
# except Exception as err:
|
except Exception as err:
|
||||||
# print("[-] [{}] ERROR:".format(file_path))
|
print("[-] [{}] ERROR:".format(file_path))
|
||||||
# print('[-]', err)
|
print('[-]', err)
|
||||||
#
|
|
||||||
# if c.soft_link():
|
if c.soft_link():
|
||||||
# print("[-]Link {} to failed folder".format(file_path))
|
print("[-]Link {} to failed folder".format(file_path))
|
||||||
# os.symlink(file_path, str(os.getcwd()) + "/" + conf.failed_folder() + "/")
|
os.symlink(file_path, str(os.getcwd()) + "/" + conf.failed_folder() + "/")
|
||||||
# else:
|
else:
|
||||||
# try:
|
try:
|
||||||
# print("[-]Move [{}] to failed folder".format(file_path))
|
print("[-]Move [{}] to failed folder".format(file_path))
|
||||||
# shutil.move(file_path, str(os.getcwd()) + "/" + conf.failed_folder() + "/")
|
shutil.move(file_path, str(os.getcwd()) + "/" + conf.failed_folder() + "/")
|
||||||
# except Exception as err:
|
except Exception as err:
|
||||||
# print('[!]', err)
|
print('[!]', err)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
version = '3.5'
|
version = '3.5.2'
|
||||||
|
|
||||||
# Parse command line args
|
# Parse command line args
|
||||||
single_file_path, config_file, auto_exit = argparse_function()
|
single_file_path, config_file, auto_exit = argparse_function()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "3.5.1",
|
"version": "3.5.2",
|
||||||
"version_show": "3.5.1",
|
"version_show": "3.5.2",
|
||||||
"download": "https://github.com/yoshiko2/AV_Data_Capture/releases"
|
"download": "https://github.com/yoshiko2/AV_Data_Capture/releases"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user