Skip to content

Commit

Permalink
fix: mpv freezing on some system (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaqo committed Oct 29, 2024
1 parent 54b1473 commit cb9b181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/anipy_api/player/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _open_sproc(player_command: List[str]) -> sp.Popen:
if os.name in ("nt", "dos"):
sub_proc = sp.Popen(player_command)
else:
sub_proc = sp.Popen(player_command, stdout=sp.PIPE, stderr=sp.DEVNULL)
sub_proc = sp.Popen(player_command, stdout=sp.DEVNULL, stderr=sp.DEVNULL)
except FileNotFoundError:
raise PlayerError(f"Executable {player_command[0]} was not found")

Expand Down

0 comments on commit cb9b181

Please sign in to comment.