|  | @@ -191,6 +191,7 @@ def process_segment(item, audios=None):
 | 
												
													
														
															|  |      for path, name, ts in audios_iterable:
 |  |      for path, name, ts in audios_iterable:
 | 
												
													
														
															|  |          log.info('file: {}'.format(path))
 |  |          log.info('file: {}'.format(path))
 | 
												
													
														
															|  |          audios_counter += os.path.isfile(path)
 |  |          audios_counter += os.path.isfile(path)
 | 
												
													
														
															|  | 
 |  | +        values = []
 | 
												
													
														
															|  |          for match in dejavu.recognize(recognizer, path, 5,
 |  |          for match in dejavu.recognize(recognizer, path, 5,
 | 
												
													
														
															|  |                                        ads_filter=[md5hash]):
 |  |                                        ads_filter=[md5hash]):
 | 
												
													
														
															|  |              try:
 |  |              try:
 | 
												
											
												
													
														
															|  | @@ -199,11 +200,13 @@ def process_segment(item, audios=None):
 | 
												
													
														
															|  |                      'timestamp': ts,
 |  |                      'timestamp': ts,
 | 
												
													
														
															|  |                      'offset': match['offset']
 |  |                      'offset': match['offset']
 | 
												
													
														
															|  |                  })
 |  |                  })
 | 
												
													
														
															|  | -                log.info("{} {}".format(ts, match['confidence']))
 |  | 
 | 
												
													
														
															|  | 
 |  | +                values.append(match['confidence'])
 | 
												
													
														
															|  |              except KeyError as ex:
 |  |              except KeyError as ex:
 | 
												
													
														
															|  |                  log.error(str(ex))
 |  |                  log.error(str(ex))
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |              ts += match['length'] / 1000
 |  |              ts += match['length'] / 1000
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +        log.info(values)
 | 
												
													
														
															|  |      
 |  |      
 | 
												
													
														
															|  |      try:
 |  |      try:
 | 
												
													
														
															|  |          response = client.put_schedule_results(
 |  |          response = client.put_schedule_results(
 |