mirror of
https://github.com/Syncplay/syncplay
synced 2025-03-09 21:28:54 +00:00
stderr in mplayer is now not displayed
This commit is contained in:
parent
4ef73c606c
commit
16d2b5b097
@ -13,7 +13,7 @@ class MplayerPlayer(BasePlayer):
|
|||||||
self._filename = None
|
self._filename = None
|
||||||
self._filepath = None
|
self._filepath = None
|
||||||
|
|
||||||
_process = subprocess.Popen([playerPath, filePath, '-slave', '-msglevel', 'all=1:global=4'], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
|
_process = subprocess.Popen([playerPath, filePath, '-slave', '-msglevel', 'all=1:global=4'], stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
self._listener = self.__Listener(self, _process)
|
self._listener = self.__Listener(self, _process)
|
||||||
self._listener.setDaemon(True)
|
self._listener.setDaemon(True)
|
||||||
self._listener.start()
|
self._listener.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user