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 currentovos-mediaservice.mycroft.plugin.audioservice, used by the legacyovos-audioservice.
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-audiocontainer). - 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
- OpenVoiceOS/ovos-media, the media service that loads this backend.
- OpenVoiceOS/ovos-media-plugin-vlc, a sibling backend that uses VLC.
- OpenVoiceOS/ovos-media-plugin-ffplay, a sibling backend that uses ffplay.
- OpenVoiceOS/ovos-media-plugin-mplayer, a sibling backend that uses mplayer.
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_media_plugin_mpv-1.0.2a1.tar.gz | 12.5 kB | Without provenance | Details for ovos_media_plugin_mpv-1.0.2a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_media_plugin_mpv-1.0.2a1-py3-none-any.whl | Python 3 | none | any | Details for ovos_media_plugin_mpv-1.0.2a1-py3-none-any.whl |
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
|
Security for ovos-media-plugin-mpv 1.0.2a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.