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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_ocp_pipeline_plugin-1.1.28a2.tar.gz (180.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_ocp_pipeline_plugin-1.1.28a2-py3-none-any.whl (258.3 kB view details)

Uploaded Python 3

File details

Details for the file ovos_ocp_pipeline_plugin-1.1.28a2.tar.gz.

File metadata

File hashes

Hashes for ovos_ocp_pipeline_plugin-1.1.28a2.tar.gz
Algorithm Hash digest
SHA256 7698f938afef11f64b1497d767e97def36b06e52ccf6b99af62ed3b9e9544c0e
MD5 00843cb41bcd3467cc582376769e6fc7
BLAKE2b-256 85a02799d83a09830d656fbc5fca1073ddd64765399fc885a51057f4ff2afdbe

See more details on using hashes here.

File details

Details for the file ovos_ocp_pipeline_plugin-1.1.28a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_ocp_pipeline_plugin-1.1.28a2-py3-none-any.whl
Algorithm Hash digest
SHA256 e79c658f0584e03e6b25d94d13719955afc83b554d76a5dde9d14e9b156d392b
MD5 7ebbbf7ef1899580f09dc65b764b962a
BLAKE2b-256 f0b5bc64537b879dc2f9279ee0c2205f0ef91acd80a097158a3cf79b6c1ff840

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.28a2 This release

2 files

1.1.18

2 files

1.1.16

2 files

1.1.15

2 files

1.1.14

2 files

1.1.13

2 files

1.1.12

2 files

1.1.11

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.0.11

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page