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.0a3.tar.gz (11.2 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.0a3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file ovos_media_plugin_mpv-1.0.0a3.tar.gz.

File metadata

  • Download URL: ovos_media_plugin_mpv-1.0.0a3.tar.gz
  • Upload date:
  • Size: 11.2 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.0a3.tar.gz
Algorithm Hash digest
SHA256 3696d663adaf1a3ec8afa45f465b15a7dda33b0dbf89f8d41a1c11375d0f5d28
MD5 ab96d0d2e7ab155476df1d7841bb9bdd
BLAKE2b-256 c227ff598181e17026652894a74c3cd680e1c898a24a6edf6aa407a4f68f06c3

See more details on using hashes here.

File details

Details for the file ovos_media_plugin_mpv-1.0.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_media_plugin_mpv-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 efb8b8b57675b758802b1dcdac224fb173c561c69865f85fc6e9cfefeb787719
MD5 d09df12f0a66733a9fa7ee382c6ad45f
BLAKE2b-256 9c9059bc5b54e3a76f0645fa61369eb661964ce8bbed17c87ec79c985d290461

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