Skip to main content
Pre-release

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

ovos-media-plugin-mass

Music Assistant playback backend for OVOS. It controls Music Assistant players, playing the library://<type>/<id> uris that the Music Assistant catalog returns.

It ships one backend on both media stacks: the same plugin works with the legacy ovos-audio service and with the modern ovos-media service.

Stack Entry-point group Class
ovos-media (current) opm.media.audio MAssOCPAudioService
ovos-audio (legacy) mycroft.plugin.audioservice MAssAudioService

To search Music Assistant by voice you also need a catalog component: ovos-media-provider-mass on the ovos-media stack, or ovos-skill-music-assistant on the legacy OCP/ovos-audio stack.

Install

pip install ovos-media-plugin-mass

Configuration

The easiest way is the bundled ovos-mass-autoconfigure command, which scans your server and writes both the legacy and ovos-media player entries into mycroft.conf:

$ ovos-mass-autoconfigure
This script will auto configure Music Assistant devices under your mycroft.conf
Make sure your Music Assistant server is accessible from this device
Please enter your Music Assistant server url: http://192.168.1.100:8095

Scanning...
    - Found player: HomeLabRenderer - dlna:uuid:4b778a71-0499-485a-a5a4-88140603fba9

mycroft.conf updated!

It emits configuration for both stacks:

// Legacy Audio Service:
{"backends": {"mass-HomeLabRenderer:dlna": {
    "active": true, "type": "ovos_mass", "player_type": "dlna",
    "identifier": "uuid:4b778a71-0499-485a-a5a4-88140603fba9",
    "url": "http://192.168.1.100:8095"}}}

// ovos-media Service:
{"audio_players": {"mass-HomeLabRenderer:dlna": {
    "active": true, "module": "ovos-media-audio-plugin-mass", "player_type": "dlna",
    "aliases": ["HomeLabRenderer", "Home Lab Renderer"],
    "identifier": "uuid:4b778a71-0499-485a-a5a4-88140603fba9",
    "url": "http://192.168.1.100:8095"}}}

See docs/configuration.md for the field reference.

Related projects

Docs

Tests

pip install -e .[test]
pytest test/                  # unit + end2end (ovoscope), network-free

The end-to-end tests (test/end2end/) drive both backends through a real ovos-audio AudioService on a FakeBus via ovoscope, with the Music Assistant HTTP client mocked.

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_media_plugin_mass-0.0.2a6.tar.gz (15.9 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_mass-0.0.2a6-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file ovos_media_plugin_mass-0.0.2a6.tar.gz.

File metadata

  • Download URL: ovos_media_plugin_mass-0.0.2a6.tar.gz
  • Upload date:
  • Size: 15.9 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_mass-0.0.2a6.tar.gz
Algorithm Hash digest
SHA256 c6a563f05d154d58f272f6e97c75d270a38adb39f0ff3c4c17cf33a3f467e6ec
MD5 fedd819052db51b8c65e7e4f24b19229
BLAKE2b-256 e45887e1c7d77c21ef6e11f2058ea82e07f507506727c86cd05d07cf50a53b7f

See more details on using hashes here.

File details

Details for the file ovos_media_plugin_mass-0.0.2a6-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_media_plugin_mass-0.0.2a6-py3-none-any.whl
Algorithm Hash digest
SHA256 0eb923b6dfcace51405b71bcbe23b80908a16a872ec8504faa1ae60502c7188c
MD5 abf9e4ef43a16a6b441294d343e20b58
BLAKE2b-256 120a8e86d6aa96e8c5da6f36fbbef59b6271526eba6cf4aec21da8e311433691

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2a6 This release

2 files

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