Skip to content

Commit

Permalink
fix: buffersize warning
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtalhaasghar committed Feb 18, 2022
1 parent ba70beb commit d185c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mps_youtube/players/mpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def launch_player(self, cmd):
g.mprisctl.send(('mpv-fifo', self.fifopath))

self.p = subprocess.Popen(cmd, shell=False, stderr=subprocess.PIPE,
bufsize=1)
bufsize=0)

self._player_status(self.songdata + "; ", self.song.length)
returncode = self.p.wait()
Expand Down

0 comments on commit d185c3f

Please sign in to comment.