Merge pull request #31 from biplobsd/master

without any flag, ffmpeg, mp4decrypt screen output, standard error (stderr)
This commit is contained in:
Puyodead1 2021-06-06 19:00:16 -04:00 committed by GitHub
commit d6194589be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
main.py
View File

@ -901,7 +901,7 @@ def check_for_aria():
try:
subprocess.Popen(["aria2c", "-v"],
stdout=subprocess.DEVNULL,
stdin=subprocess.DEVNULL).wait()
stderr=subprocess.DEVNULL).wait()
return True
except FileNotFoundError:
return False
@ -915,8 +915,8 @@ def check_for_aria():
def check_for_ffmpeg():
try:
subprocess.Popen(["ffmpeg"],
stdout=subprocess.DEVNULL,
stdin=subprocess.DEVNULL).wait()
stderr=subprocess.DEVNULL,
stdout=subprocess.DEVNULL).wait()
return True
except FileNotFoundError:
return False
@ -930,8 +930,8 @@ def check_for_ffmpeg():
def check_for_mp4decrypt():
try:
subprocess.Popen(["mp4decrypt"],
stdout=subprocess.DEVNULL,
stdin=subprocess.DEVNULL).wait()
stderr=subprocess.DEVNULL,
stdout=subprocess.DEVNULL).wait()
return True
except FileNotFoundError:
return False