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
Metadata
Release files for ovos-media-provider-news 0.0.1a7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_media_provider_news-0.0.1a7.tar.gz | 17.1 kB | Without provenance | Details for ovos_media_provider_news-0.0.1a7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_media_provider_news-0.0.1a7-py3-none-any.whl | Python 3 | none | any | Details for ovos_media_provider_news-0.0.1a7-py3-none-any.whl |
Total release size: 31.9 kB
Release files / ovos_media_provider_news-0.0.1a7.tar.gz
| Download URL | ovos_media_provider_news-0.0.1a7.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d0ef12cb38c933d748df587ae39a7975050b1289bf3402d58bc2a5d88eec311
|
|
BLAKE2b-256 checksum How to use checksums |
61cb14eb3148800cfe47e1d272d2108b74e55f3d32b793937ac754a783ad832c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ovos_media_provider_news-0.0.1a7-py3-none-any.whl
| Download URL | ovos_media_provider_news-0.0.1a7-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e7bf4343f1dd00a42ef037e9283d5ee4d42f4d8313b80f5139debd48f5859a5
|
|
BLAKE2b-256 checksum How to use checksums |
695778f62e6b7f8aca6ab69cfc669d5ac0d0ce84ccf905835c37ccd3a1026476
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for ovos-media-provider-news 0.0.1a7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.