From ef778e4d0aa4dc96fcc78c33d3b07d49b86dd6c9 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 13 Sep 2024 18:25:22 -0700 Subject: [PATCH] Add log to troubleshoot service startup Update playback thread init --- neon_audio/__main__.py | 1 + neon_audio/service.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/neon_audio/__main__.py b/neon_audio/__main__.py index 8a46452..f9e67f5 100644 --- a/neon_audio/__main__.py +++ b/neon_audio/__main__.py @@ -60,6 +60,7 @@ def main(*args, **kwargs): setup_locale() try: service = NeonPlaybackService(*args, **kwargs) + LOG.info("Service init completed") service.start() wait_for_exit_signal() except Exception as e: diff --git a/neon_audio/service.py b/neon_audio/service.py index 3aae4dd..4458dbe 100644 --- a/neon_audio/service.py +++ b/neon_audio/service.py @@ -90,7 +90,6 @@ def __init__(self, ready_hook=on_ready, error_hook=on_error, PlaybackService.__init__(self, ready_hook, error_hook, stopping_hook, alive_hook, started_hook, watchdog, bus, disable_ocp, validate_source=False) - self.playback_thread.join() del self.playback_thread from neon_audio.tts.neon import NeonPlaybackThread from ovos_plugin_manager.tts import TTS