Skip to main content
Pre-release

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

ovos-media-provider-spotify

This is an OVOS MediaProvider plugin for Spotify. It replaces the search half of the deprecated OCP search skill ovos-skill-spotify.

The OCP pipeline loads MediaProvider plugins in-process and calls search() directly, instead of broadcasting ovos.common_play.query over the bus and waiting for skills to answer. This plugin queries the Spotify Web API (through spotipy) for tracks, artists, and albums, then converts each track into a mediavocab.Release that carries the spotify: URI.

The ovos-media-plugin-spotify backend handles playback separately. This plugin only does search and catalog lookup. Both plugins share the ocp_spotify OAuth credentials, so no extra configuration is needed when Spotify is already set up.

Install

pip install ovos-media-provider-spotify

The plugin registers itself through the opm.media.provider entry point, so OCP picks it up automatically after install.

[project.entry-points."opm.media.provider"]
spotify = "ovos_media_provider_spotify:SpotifyMediaProvider"

Routing

There is no declarative routing table. OCP calls every installed provider's search() method for each query; a provider that cannot serve the query (wrong media type, no matching results, missing API credentials, …) just returns an empty list. This plugin only ever returns music tracks, so it naturally contributes nothing to a query for another media type.

Configuration

Key Default Description
max_tracks 25 Maximum tracks returned per matched album/artist.

License

Apache-2.0

Metadata

Release files for ovos-media-provider-spotify 0.0.1a6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-media-provider-spotify 0.0.1a6
File Size Uploaded
ovos_media_provider_spotify-0.0.1a6.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-media-provider-spotify 0.0.1a6
File Interpreter ABI Platform
ovos_media_provider_spotify-0.0.1a6-py3-none-any.whl Python 3 none any Details

Total release size: 24.2 kB

Release files / ovos_media_provider_spotify-0.0.1a6.tar.gz

Download URL ovos_media_provider_spotify-0.0.1a6.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
19751f91fed56c84d3c275abc7adeca7296b6b01a2796df601a2b82dbd06113c
BLAKE2b-256 checksum
How to use checksums
62fa77f388b04e9bbf9d6ef4d9781686a88f4bbbb216fa7168762e3deb718ddb
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_provider_spotify-0.0.1a6-py3-none-any.whl

Download URL ovos_media_provider_spotify-0.0.1a6-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f260d12ebfc96a5c3ff5d1294aeb2d76ba38d7725d72d7f1ef8f26c914eab73
BLAKE2b-256 checksum
How to use checksums
b629e9a6ddb272739538aac46c861ce80c580396f5a03db2d6e0cdc610184bef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
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