From ea050975813d4f0052c5f07ff39a91c371d3c09b Mon Sep 17 00:00:00 2001 From: JarbasAi Date: Mon, 8 Jan 2024 06:55:21 +0000 Subject: [PATCH] bump OPM needs https://github.com/OpenVoiceOS/ovos-plugin-manager/pull/207 --- ovos_plugin_vlc/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)