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.

Download files

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

Source Distribution

ovos_media_plugin_mpv-1.0.1a1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

ovos_media_plugin_mpv-1.0.1a1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file ovos_media_plugin_mpv-1.0.1a1.tar.gz.

File metadata

  • Download URL: ovos_media_plugin_mpv-1.0.1a1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_media_plugin_mpv-1.0.1a1.tar.gz
Algorithm Hash digest
SHA256 9eb5bea56b2092a59c3bcc4bf5696b9398b574f9a7af00dff8d5927a7f5dae9c
MD5 cb11522ce5a8318fb18213828efd92e5
BLAKE2b-256 5e1bee48632734d12f4efe7a7df2638adf746cff4905c8dbafb943769564a4ec

See more details on using hashes here.

File details

Details for the file ovos_media_plugin_mpv-1.0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_media_plugin_mpv-1.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 2402e4718001a91748e439e09d29a5966e1d1d737cc47640a44b4ecea4323805
MD5 4a187819ccfd184bc77103ca9acc2c25
BLAKE2b-256 a22bd3d75b629e1e4725f013793c1e3754041484810232052ae28f844dc2b957

See more details on using hashes here.

Supported by

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