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.1a5

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.1a5
File Size Uploaded
ovos_media_provider_spotify-0.0.1a5.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size: 24.2 kB

Release files / ovos_media_provider_spotify-0.0.1a5.tar.gz

Download URL ovos_media_provider_spotify-0.0.1a5.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
db8f3dea60582edc78401a5279866dff94b1049355251198b6fd073f089c18fa
BLAKE2b-256 checksum
How to use checksums
33e73f168dca4bb6766be40a1aa78a7272e734a79821a7a55eb0d6fc261a8eac
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.1a5-py3-none-any.whl

Download URL ovos_media_provider_spotify-0.0.1a5-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
638c426973306d29d0393162bd1c68b57ca0d03b222652e1e82426ca57e762c2
BLAKE2b-256 checksum
How to use checksums
9c0a665334a736ee66b6a3e8392ed3a94d520bf1fff3eb2123bfda91d99d6419
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