Try sending VLC stderr messages to None to avoid error messages in console

This commit is contained in:
Et0h 2015-03-12 09:22:27 +00:00
parent 415ceffc6d
commit 1cd491b5bc

View File

@ -311,7 +311,7 @@ class VlcPlayer(BasePlayer):
elif "lua interface error" in line:
playerController._client.ui.showErrorMessage(getMessage("media-player-error").format(line), True)
break
self.__process.stderr = sys.stderr
self.__process.stderr = None
threading.Thread.__init__(self, name="VLC Listener")
asynchat.async_chat.__init__(self)
self.set_terminator("\n")