use profiles instead of parsing to detect mode

This commit is contained in:
Jakob Ketterl
2020-12-09 11:38:46 +01:00
parent 3291dbe8d2
commit a8011e3a1a
3 changed files with 64 additions and 61 deletions

View File

@ -186,7 +186,7 @@ class AudioWriter(object):
)
try:
for line in decoder.stdout:
self.outputWriter.send((job.freq, line))
self.outputWriter.send((self.profile, job.freq, line))
except OSError:
decoder.stdout.flush()
# TODO uncouple parsing from the output so that decodes can still go to the map and the spotters