Skip to content

Commit

Permalink
More init troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel McKnight committed Sep 14, 2024
1 parent 9fe0a6a commit 9edefcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions neon_audio/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,14 @@ def __init__(self, ready_hook=on_ready, error_hook=on_error,
init_signal_bus(bus)
init_signal_handlers()
from neon_utils.signal_utils import create_signal, check_for_signal
import ovos_audio.service
ovos_audio.service.check_for_signal = check_for_signal
ovos_plugin_manager.templates.tts.check_for_signal = check_for_signal
ovos_plugin_manager.templates.tts.create_signal = create_signal

from neon_audio.tts.neon import NeonPlaybackThread
import ovos_audio.playback
ovos_audio.playback.PlaybackThread = NeonPlaybackThread
ovos_audio.service.PlaybackThread = NeonPlaybackThread
PlaybackService.__init__(self, ready_hook, error_hook, stopping_hook,
alive_hook, started_hook, watchdog, bus,
Expand Down
2 changes: 1 addition & 1 deletion neon_audio/tts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ def create(config=None):
return
tts = WrappedTTS(clazz, tts_lang, tts_config)
tts.validator.validate()
LOG.debug(f"Initialized tts: {tts.tts_name}")
LOG.info(f"Initialized tts: {tts.tts_name}")
return tts

0 comments on commit 9edefcf

Please sign in to comment.