This release is a pre-release and may not be stable for production use.
ovos-media-provider-news
This is an OVOS MediaProvider plugin for broadcast news feeds. It replaces the
deprecated OCP search skill ovos-skill-news.
The deprecated skill broadcast ovos.common_play.query over the bus and waited for
skills to answer. The OCP pipeline now loads MediaProvider plugins in-process, gates
them by routing, and calls search() directly.
This plugin ships a curated News.json catalog (feed name, uri, aliases, language,
and world-vs-local flag). It scores each feed against the query title, request
language, and region, and returns
mediavocab.Release objects.
Feed URIs keep their original extractor prefix (rss//…, news//…,
youtube.channel.live//…), so the OCP playback layer resolves them exactly as the
deprecated skill did.
Install
pip install ovos-media-provider-news
Usage
The OCP pipeline discovers the plugin through its entry point and calls search()
with the parsed query signals:
from ovos_media_provider_news import NewsMediaProvider
from mediavocab import Signals
provider = NewsMediaProvider()
results = provider.search(Signals(title="play the news"), lang="en-us")
A bare NEWS request with no title browses the catalog, and each language's default feed floats to the top. The call returns an empty list on failure.
Routing
| Axis | Value |
|---|---|
media |
NEWS |
playback_type |
AUDIO |
genre_filter |
(none) |
Entry point
[project.entry-points."opm.media.provider"]
news = "ovos_media_provider_news:NewsMediaProvider"
Configuration
| Key | Default | Description |
|---|---|---|
default_feed |
(per-language default) | Feed name to boost as the user's preferred station. |
Related projects
- OpenVoiceOS/ovos-plugin-manager loads and routes MediaProvider plugins for the OCP pipeline.
- OpenVoiceOS/ovos-skill-news is the deprecated skill this plugin replaces.
- TigreGotico/mediavocab defines the
ReleaseandSignalsobjects this plugin returns and consumes.
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_media_provider_news-0.0.1a4.tar.gz.
File metadata
- Download URL: ovos_media_provider_news-0.0.1a4.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514fe4dae5c8b77cf0872bb89e9e3c1dbf095698b119a2b481ac3ebb538672c8
|
|
| MD5 |
2b7f60ceab864b1f60f6ede41ad366ed
|
|
| BLAKE2b-256 |
470b58e1552f88167891d5abd353fcb9c1f2b8bb7e8c4b73c1ec8315e5835647
|
File details
Details for the file ovos_media_provider_news-0.0.1a4-py3-none-any.whl.
File metadata
- Download URL: ovos_media_provider_news-0.0.1a4-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aba89afb225a104e844420f5da6521877457e9979f0e789dfd658e0ded7477e4
|
|
| MD5 |
b4b7131ea60c2bde398e9a5418e6b66c
|
|
| BLAKE2b-256 |
74e62ed01eafb070f84a23ce46542af04d4a46facbd308edb707d2bcc12bfa47
|