Skip to content

Commit

Permalink
Update for latest ovos-audio compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed May 8, 2024
1 parent dc55b20 commit 4fbfa31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion neon_audio/tts/neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ def _init_playback(self, playback_thread: NeonPlaybackThread = None):
init_signal_bus(self.bus)
TTS.playback = playback_thread or NeonPlaybackThread(TTS.queue)
TTS.playback.set_bus(self.bus)
TTS.playback.attach_tts(self)
if hasattr(TTS.playback, "attach_tts"):
TTS.playback.attach_tts(self)
if not TTS.playback.enclosure:
TTS.playback.enclosure = EnclosureAPI(self.bus)
if not TTS.playback.is_alive():
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ovos-audio~=0.0.2a38
ovos-audio~=0.0.2a42
ovos-utils>=0.0.35,<0.2.0
ovos-config~=0.0.10
phoneme-guesser~=0.1
Expand Down

0 comments on commit 4fbfa31

Please sign in to comment.