This commit is contained in:
Puyodead1 2021-06-18 16:54:44 -04:00
commit 4c0f4d2225
2 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ Windows is the primary development OS, but I've made an effort to support linux
# Requirements
1. You would need to download `ffmpeg`, `aria2c` and `mp4decrypter` (from Bento4 SDK) and ensure they are in path (typing their name in cmd should invoke them).
1. You would need to download `ffmpeg`, `aria2c` and `mp4decrypt` (from Bento4 SDK) and ensure they are in path (typing their name in cmd should invoke them).
# Usage

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