Format Factoryv5.21.0.0 Page
if == " main ": os.makedirs(WATCH_FOLDER, exist_ok=True) os.makedirs(OUTPUT_FOLDER, exist_ok=True)
def add_to_format_factory(file_path): # Format Factory CLI syntax (unofficial but works): # FormatFactory.exe "input" /outfolder "output" /profile "MP4" cmd = [ FF_EXE, f'"{file_path}"', "/outfolder", f'"{OUTPUT_FOLDER}"', "/profile", OUTPUT_PROFILE ] subprocess.Popen(" ".join(cmd), shell=True) print(f"Added to queue: {file_path}") format factoryv5.21.0.0
I can’t directly modify or add code to Format Factory v5.21.0.0 since it’s a closed-source Windows application. if == " main ": os