Skip to content

Commit

Permalink
feat/OCP_backends
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jan 8, 2024
1 parent 39ef413 commit 1f022c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ovos_plugin_manager/templates/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class RemoteAudioBackend(AudioBackend):


class VideoBackend(MediaBackend):
""" for audio"""
""" for video"""
def load_track(self, uri):
super().load_track(uri)
self.bus.emit(Message("ovos.common_play.track.state",
Expand All @@ -244,7 +244,7 @@ def ocp_start(self):
class RemoteVideoBackend(VideoBackend):
"""Base class for remote audio backends.
RemoteAudioBackends will always be checked after the normal
RemoteVideoBackends will always be checked after the normal
VideoBackends to make playback start locally by default.
An example of a RemoteVideoBackend would be things like Chromecasts, etc.
Expand All @@ -266,12 +266,12 @@ def ocp_start(self):
{"state": TrackState.PLAYING_WEBVIEW}))


class RemoteWebBackend(VideoBackend):
class RemoteWebBackend(VideoWebBackend):
"""Base class for remote web backends.
RemoteAudioBackends will always be checked after the normal
RemoteWebBackends will always be checked after the normal
VideoBackends to make playback start locally by default.
An example of a RemoteVideoBackend would be
An example of a RemoteWebBackend would be
things that can render a webpage in a different machine
"""

0 comments on commit 1f022c4

Please sign in to comment.