diff --git a/client_config.yml b/client_config.yml index b176ef3..66721a8 100644 --- a/client_config.yml +++ b/client_config.yml @@ -10,7 +10,7 @@ voice: input_mixer: 'Mic' output_mixer: 'PCM' input_volume: 90 - output_volume: 60 + output_volume: 40 file_address: "http://hugveycmd.local:8888" output_driver: pulseaudio diff --git a/hugvey/client.py b/hugvey/client.py index 408b2ba..2be30af 100644 --- a/hugvey/client.py +++ b/hugvey/client.py @@ -285,6 +285,7 @@ class CommandHandler(object): duration = cmd['duration'] if 'duration' in cmd else None self.playingMsgId = msgId + err = None if file is None and text is None: logger.critical("No file nor text given: {}".format(cmd)) else: @@ -325,9 +326,6 @@ class CommandHandler(object): returnCode = self.playPopen.returncode if self.playPopen else 0 logger.debug('finished') self.playPopen = None - logger.log(LOG_BS,out) - if len(err) > 0: - logger.critical(err) if t is not None: t.cancel()