mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-05 09:17:28 -08:00
fix(mpv): check if process.stder is not none
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user