Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OCP Pipeline

The OCP (Open Common Play) pipeline plugin turns media utterances into playback actions in OVOS. Utterances such as "play metallica", "put on some movie", "pause", or "next" pass through this plugin as an intent pipeline stage. On a match, the plugin searches registered media skills over the message bus and drives playback through the OCP API.

The plugin exposes two entry points under the opm.pipeline group:

  • ovos-ocp-pipeline-plugin (OCPPipelineMatcher), the main pipeline. It matches play, open, media_stop, next, prev, pause, resume, save_game, and load_game intents at high, medium, or low confidence.
  • ovos-ocp-pipeline-plugin-legacy (MycroftCPSLegacyPipeline), a bridge for older Mycroft CommonPlay skills, using the play:query / play:query.response / play:start handshake.

OCPPipelineMatcher also classifies media type, such as music, movie, or podcast. It extracts named entities with ahocorasick-ner, using per-language vocabulary files and optional user-supplied entity CSVs (the entity_csvs config option). It tracks player state per session through an OCPPlayerProxy, kept in sync with ovos.common_play.status and track.state bus events.

Architecture

image

image

Install

pip install ovos-ocp-pipeline-plugin

Usage

OVOS core loads this plugin automatically once installed, through the opm.pipeline entry-point group. Enable it in mycroft.conf under the intents section:

{
  "intents": {
    "ovos-ocp-pipeline-plugin": {
      "entity_csvs": []
    }
  }
}

The plugin reads the pipeline's intents config block, then falls back to a legacy OCP config block for backward compatibility.

Related projects

License

Apache-2.0

Release files for ovos-ocp-pipeline-plugin 1.2.0a1

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-ocp-pipeline-plugin 1.2.0a1
File Size Uploaded
ovos_ocp_pipeline_plugin-1.2.0a1.tar.gz 169.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-ocp-pipeline-plugin 1.2.0a1
File Interpreter ABI Platform
ovos_ocp_pipeline_plugin-1.2.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 371.2 kB

Release files / ovos_ocp_pipeline_plugin-1.2.0a1.tar.gz

Download URL ovos_ocp_pipeline_plugin-1.2.0a1.tar.gz
Size 169.6 kB
Tags Source
SHA-256 checksum
How to use checksums
46daad3b1117031218b84c101ed632f471d2706a4744331e6020e0b7098e0c93
BLAKE2b-256 checksum
How to use checksums
723cf22967052a08158b516b65a6fd19dbe467a15ee30c3833dd8686b5a9487c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_ocp_pipeline_plugin-1.2.0a1-py3-none-any.whl

Download URL ovos_ocp_pipeline_plugin-1.2.0a1-py3-none-any.whl
Size 201.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ddbaf1dc84003d61e29a53337281d7a42c11e9ed947660dae73be3fdc85c844
BLAKE2b-256 checksum
How to use checksums
837b34a0c4deb1bdb8c23f8a41849cfe0d581073f4f794c4e4f9afee4aa4db1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.2.0a1 This release

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.0.11

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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