Skip to main content
Pre-release

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

⚠️ DEPRECATED

This OCP search skill is deprecated and unmaintained. OCP search skills (OVOSCommonPlaybackSkill + @ocp_search) are replaced by MediaProvider plugins loaded by the OCP pipeline plugin. The search and catalog functionality moves to ovos-media-provider-mass, a MediaProvider running in-process within the OCP pipeline. Playback of Music Assistant tracks moves to ovos-media-plugin-mass, a playback backend for the ovos-media player daemon. Both packages are published and work once their respective stacks are active — ovos-media-provider-mass provides search results when the OCP pipeline invokes MediaProviders; ovos-media-plugin-mass handles playback when ovos-media is running as your player. Installing them does not replace this skill under the legacy OCP/ovos-audio stack.

This skill keeps working until the ovos-media stack flips to default and this repository is archived.

Music Assistant Skill

OCP search skill for Music Assistant.

It answers OCP play … requests with playable results from a Music Assistant server. The companion ovos-media-plugin-mass plays back the returned library:// uris.

Setup

Check which player stack you run before installing anything. On the classic ovos-audio/OCP stack, this skill does the catalog search and hands playback to ovos-media-plugin-mass; install both together. On the newer ovos-media stack, this skill is replaced entirely at flag day by ovos-media-provider-mass, which does catalog search and playback on its own — do not install this skill there.

For the classic stack:

pip install ovos-skill-music-assistant ovos-media-plugin-mass

Set your Music Assistant server URL in this skill's settings — the url field in settings.json, reachable through the OVOS control panel under this skill's settings page:

{ "url": "http://192.168.1.100:8095" }

Settings changes made through the control panel before the skill's first run are only picked up on the run after that: the skill writes its own first-run marker into settings.json the first time it loads, which can overwrite a hand-edited file dropped in earlier. Reload the skill (or restart it) once after changing the URL for the first time if it does not seem to take effect.

Say "play some jazz on music assistant" to verify the setup works end to end.

If something goes wrong:

  • an "I couldn't reach your Music Assistant server" reply means the url in settings is wrong or the server is down — check both.
  • no results for something you know is in your library means Music Assistant itself does not have that media indexed — check its own search first.
  • an error about the server refusing the request usually means authentication: Music Assistant 2.11 requires a token this skill does not yet send; support for it is coming with the next client release.

Related projects

Docs

Tests

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

The end-to-end tests (test/end2end/) run the real OCP pipeline in a ovoscope MiniCroft. A spoken utterance is classified into an ovos.common_play.query, this skill answers, and OCP selects a winner to play. The tests mock the Music Assistant HTTP client.

Credits

  • JarbasAi

Category

Entertainment

Tags

#audio #music #OCP #entertainment

Download files

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

Source Distribution

ovos_skill_music_assistant-0.1.7a1.tar.gz (22.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_skill_music_assistant-0.1.7a1-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_music_assistant-0.1.7a1.tar.gz.

File metadata

File hashes

Hashes for ovos_skill_music_assistant-0.1.7a1.tar.gz
Algorithm Hash digest
SHA256 95972d19c7ba03912accafae7e8fbb4e927ba072baf08a0c63584c9a68b92526
MD5 167368b9c0b2611cb6501d87cf99dbbd
BLAKE2b-256 0e3683e993a6ba9917977a19a67f2a24862b1f25de70d6a5925bc8f1df600368

See more details on using hashes here.

File details

Details for the file ovos_skill_music_assistant-0.1.7a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_music_assistant-0.1.7a1-py3-none-any.whl
Algorithm Hash digest
SHA256 20a07b85f259107b8dbf22da16272e0375e2b077ca4a8590f55b296249537650
MD5 c209fb9d57f50a9a2b32f88eaaa328ff
BLAKE2b-256 880378e52d869c395c0e3d2e8f4c651c4be835245cc6f69653b4c52a7845ef6e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.7a1 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