Skip to content

Commit

Permalink
hotfix/backend_type (#11)
Browse files Browse the repository at this point in the history
default config uses "ovos-audio-simple" but the plugins checks for "ovos-simple"
  • Loading branch information
JarbasAl authored May 11, 2024
1 parent 8eb4f94 commit 0bdb101
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ovos_audio_plugin_simple/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ def seek_backward(self, seconds=1):
def load_service(base_config, bus):
backends = base_config.get('backends', [])
services = [(b, backends[b]) for b in backends
if backends[b]['type'] in ["simple", 'ovos_simple'] and
if backends[b]['type'] in ["simple",
'ovos_simple',
'ovos_audio_simple'] and
backends[b].get('active', False)]

if not any([OVOSSimpleService.sox_play,
Expand Down

0 comments on commit 0bdb101

Please sign in to comment.