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. |
Related projects
ovos-media-plugin-spotify: the Spotify playback backendovos-skill-spotify: the deprecated OCP search skill this plugin replacesmediavocab: the media metadata vocabulary this plugin returns results in
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_media_provider_spotify-0.0.1a6.tar.gz | 12.0 kB | Without provenance | Details for ovos_media_provider_spotify-0.0.1a6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_media_provider_spotify-0.0.1a6-py3-none-any.whl | Python 3 | none | any | Details for ovos_media_provider_spotify-0.0.1a6-py3-none-any.whl |
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
|
Security for ovos-media-provider-spotify 0.0.1a6
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.