bitwarden

This commit is contained in:
jaydee
2024-09-25 08:39:29 +02:00
parent 3b07d3ee74
commit 83417c237a

View File

@@ -86,7 +86,7 @@ if _ACTION == "flip":
else: else:
myCmd = [ myCmd = [
"/opt/ffmpeg/ffmpeg", "-f", "-i", _FILE, "-c", "copy", "-metadata:s:v:0", "rotate=180", "-y", export_name "/opt/ffmpeg/ffmpeg", "-f", "-i", _FILE, "-c", "copy", "-metadata:s:v:0", "rotate=180", "-y", export_name
] ]
print(_FULL_PATH) print(_FULL_PATH)
print(myCmd) print(myCmd)
os.chdir(_FULL_PATH) os.chdir(_FULL_PATH)
@@ -174,7 +174,7 @@ if _ACTION == "join":
] ]
#print(myCmd) #print(myCmd)
print(f"Joining {len(parts)} files to {export_name}...") print(f"Joining {len(parts)} files to {export_name} in {_DAY_DIR}...")
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT) proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
# with tqdm(total=100, position=1, desc="Convert") as pbar: # with tqdm(total=100, position=1, desc="Convert") as pbar:
# for progress in ff.run_command_with_progress(): # for progress in ff.run_command_with_progress():