diff --git a/README.md b/README.md index a716531..9a18788 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.py b/main.py index e5dc830..cdf1afd 100644 --- a/main.py +++ b/main.py @@ -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