Skip to main content
Pre-release

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.

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)

Source distribution for ovos-media-provider-news 0.0.1a7
File Size Uploaded
ovos_media_provider_news-0.0.1a7.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-media-provider-news 0.0.1a7
File Interpreter ABI Platform
ovos_media_provider_news-0.0.1a7-py3-none-any.whl Python 3 none any Details

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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page