Skip to content

Commit

Permalink
add helper property
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jun 6, 2024
1 parent 3cac437 commit b6f08a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ovos_plugin_common_play/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def __init__(self, config, bus=None, name='ovos.common_play'):
self.handle_receive_meta)
self.create_ocp(self.config)

@property
def player(self):
return self.ocp.player

def create_ocp(self, config: dict):
self.config = config
self.config.setdefault("mode", "auto")
Expand Down

0 comments on commit b6f08a2

Please sign in to comment.