UI: add audio process stats to System page (#6993)

* Add audio process PID to the list of processes and log the start of the audio process

* Update audio process PID key in processes dictionary to "audioDetector" instead of "audio".
This commit is contained in:
Sergey Krashevich 2023-07-03 17:48:29 +03:00 committed by GitHub
parent 58c6ef1e12
commit f905704479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -437,6 +437,7 @@ class FrigateApp:
) )
audio_process.daemon = True audio_process.daemon = True
audio_process.start() audio_process.start()
self.processes["audioDetector"] = audio_process.pid or 0
logger.info(f"Audio process started: {audio_process.pid}") logger.info(f"Audio process started: {audio_process.pid}")
def start_timeline_processor(self) -> None: def start_timeline_processor(self) -> None: