diff --git a/ovos_plugin_common_play/__init__.py b/ovos_plugin_common_play/__init__.py index e18b864..36065aa 100644 --- a/ovos_plugin_common_play/__init__.py +++ b/ovos_plugin_common_play/__init__.py @@ -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")