Skip to content

Commit

Permalink
method from OPM
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jan 8, 2024
1 parent 0173421 commit 65fb862
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ovos_utils/ocp.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ class MediaType(IntEnum):


def available_extractors():
from ovos_plugin_common_play.ocp.utils import available_extractors as _real
return _real() # TODO
from ovos_plugin_manager.ocp import StreamHandler
return ["/", "http:", "https:", "file:"] + \
[f"{sei}//" for sei in StreamHandler().supported_seis]


def find_mime(uri):
Expand Down

0 comments on commit 65fb862

Please sign in to comment.