Skip to main content
Pre-release

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

ovos-media-plugin-mpv

ovos-media-plugin-mpv is an audio and video playback plugin for OpenVoiceOS (OVOS). It drives the mpv media player through python-mpv-jsonipc and exposes it as a playback backend for ovos-media and the legacy ovos-audio service.

Install

Install the plugin with pip:

pip install ovos-media-plugin-mpv

The plugin needs the mpv media player installed and available on the system.

Usage

OVOS discovers the plugin through entry points, so no code changes are needed. Enable and configure it in your OVOS configuration file:

{
  "backends": {
    "mpv": {
      "type": "ovos_mpv",
      "active": true,
      "initial_volume": 100,
      "low_volume": 50
    }
  }
}

initial_volume sets the starting volume. low_volume sets the volume used while the assistant lowers playback, for example to speak over a track.

The plugin registers under two entry-point groups, so it works with both stacks:

  • opm.media.audio / opm.media.video, used by the current ovos-media service.
  • mycroft.plugin.audioservice, used by the legacy ovos-audio service.

Once active, the backend exposes the standard OVOS media-backend API: play, stop, pause, resume, seek forward, seek backward, track position, and track length.

Troubleshooting

  • Confirm mpv is installed and runs directly from the command line.
  • Confirm the plugin package is installed in the same environment as the OVOS service (in containers, install it inside the ovos-audio container).
  • Confirm the backend is active in the configuration file.
  • Check the service logs. If a stream does not play, confirm the stream plays directly in mpv.

Related projects

License

Apache-2.0. See LICENSE.

Metadata

Release files for ovos-media-plugin-mpv 1.0.2a1

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-plugin-mpv 1.0.2a1
File Size Uploaded
ovos_media_plugin_mpv-1.0.2a1.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-media-plugin-mpv 1.0.2a1
File Interpreter ABI Platform
ovos_media_plugin_mpv-1.0.2a1-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 kB

Release files / ovos_media_plugin_mpv-1.0.2a1.tar.gz

Download URL ovos_media_plugin_mpv-1.0.2a1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7fab047fd753be2a1a9b26edc42b56cff477e416e6acfb5264787e0e091fdd63
BLAKE2b-256 checksum
How to use checksums
30f3e4834276c130052dbc35d568f978af96f23ec882acd097b483be05e8368e
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_plugin_mpv-1.0.2a1-py3-none-any.whl

Download URL ovos_media_plugin_mpv-1.0.2a1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce4bcdb80c8ff16f263094c730367e6a446fb8f567918f6cf430c3592b728551
BLAKE2b-256 checksum
How to use checksums
37e50a2be708cae714c41291dd044e3183a67deac6e3c8501fbcf43aa4735e71
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