Skip to content

Commit

Permalink
fix/missing_property (#239)
Browse files Browse the repository at this point in the history
at some point self.name was dropped
  • Loading branch information
JarbasAl authored Jul 5, 2024
1 parent 9857a3e commit baa1b1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ovos_plugin_manager/templates/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ class AudioBackend(metaclass=ABCMeta):
bus (MessageBusClient): OpenVoiceOS messagebus emitter
"""

def __init__(self, config=None, bus=None):
def __init__(self, config=None, bus=None, name=None):
self.name = name or self.__class__.__name__
self._now_playing = None # single uri
self._tracks = [] # list of dicts for OCP entries
self._idx = 0
Expand Down

0 comments on commit baa1b1c

Please sign in to comment.