Visual/log changes

This commit is contained in:
Ruben van de Ven 2019-04-26 19:01:33 +02:00
parent b087871471
commit 92a6046869
2 changed files with 4 additions and 3 deletions

View file

@ -94,10 +94,10 @@ class GoogleVoiceClient(object):
while not self.toBeShutdown: while not self.toBeShutdown:
try: try:
self.logger.info("wait for Google Voice") self.logger.log(LOG_BS,"wait for Google Voice")
if not self.isRunning.wait(timeout=1): if not self.isRunning.wait(timeout=1):
continue # re-ceck toBeShutdown continue # re-ceck toBeShutdown
self.logger.info("Starting Google Voice") self.logger.debug("Starting Google Voice")
audio_generator = self.generator() audio_generator = self.generator()
@ -106,7 +106,7 @@ class GoogleVoiceClient(object):
responses = self.speech_client.streaming_recognize( responses = self.speech_client.streaming_recognize(
self.streaming_config, requests) self.streaming_config, requests)
self.logger.info("Starting voice loop") self.logger.debug("Starting voice loop")
for response in responses: for response in responses:
if not response.results: if not response.results:
self.logger.debug('...') self.logger.debug('...')

View file

@ -41,6 +41,7 @@
.vis-grid, .vis-foreground .vis-group{ .vis-grid, .vis-foreground .vis-group{
border-color:#666 !important; border-color:#666 !important;
font-size: 4.5pt;
} }
</style> </style>