Eac3to Gui ✧
def start_conversion(self): # Construct command and run command = ["eac3to", "input.mkv", "output.mkv"] process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) self.update_log(process.stdout.read().decode())
def select_input(self): filepath = filedialog.askopenfilename() # Handle selected file eac3to gui
# Log window self.log_window = tk.Text(self.root) self.log_window.pack() "output.mkv"] process = subprocess.Popen(command
class eac3toGUI: def __init__(self): self.root = tk.Tk() self.root.title("eac3to GUI") eac3to gui
def run(self): self.root.mainloop()