bitwarden

This commit is contained in:
jaydee
2024-10-02 20:07:30 +02:00
parent ce66dc0989
commit 116d8744b8

View File

@@ -10,7 +10,9 @@ import getopt
from ffmpeg_progress_yield import FfmpegProgress
from tqdm import tqdm
import filedate
def d_print(msg):
if _TEST:
print(msg)
if sys.platform == "linux" or sys.platform == "linux2":
# linux
@@ -231,13 +233,14 @@ if _ACTION == "join":
os.remove(export_name)
except:
pass
d_print("Running commad")
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
# with tqdm(total=100, position=1, desc="Convert") as pbar:
# for progress in ff.run_command_with_progress():
# pbar.update(progress - pbar.n)
cur_stat = 0
d_print("Running commad2")
with tqdm(total=100, position=1, desc="Join") as pbar:
position=0
while proc.returncode is None: