diff --git a/ovos_plugin_vlc/__init__.py b/ovos_plugin_vlc/__init__.py index fd23e29..ecc7c18 100644 --- a/ovos_plugin_vlc/__init__.py +++ b/ovos_plugin_vlc/__init__.py @@ -3,7 +3,7 @@ import vlc from ovos_bus_client.message import Message -from ovos_plugin_manager.templates.media import MediaBackend +from ovos_plugin_manager.templates.media import MediaBackend, AudioPlayerBackend, VideoPlayerBackend from ovos_utils.log import LOG @@ -154,11 +154,11 @@ def seek_backward(self, seconds=1): self.player.set_time(new_time) -class VLCOCPAudioService(VlcBaseService): +class VLCOCPAudioService(AudioPlayerBackend, VlcBaseService): def __init__(self, config, bus=None): super().__init__(config, bus, video=False) -class VLCOCPVideoService(VlcBaseService): +class VLCOCPVideoService(VideoPlayerBackend, VlcBaseService): def __init__(self, config, bus=None): super().__init__(config, bus, video=True)