fix(mpv): check if process.stder is not none

This commit is contained in:
Benex254
2024-08-06 21:24:06 +03:00
parent 5158812d61
commit 303a78568d

View File

@@ -41,6 +41,8 @@ def stream_video(MPV, url, mpv_args, custom_args):
try:
while True:
if not process.stderr:
continue
output = process.stderr.readline()
if output: