diff --git a/handle_imported_video.py b/handle_imported_video.py index 3b376ad..cadc770 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -188,13 +188,15 @@ if _ACTION == "join": pbar.update(int(cur_stat) - position) position = int(cur_stat) + print(proc.returncode) + if cur_stat == 100: + break except: pass time.sleep(3) # get the output - print(ff.stderr) status = 0 if status == 0: print("Moving...")