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
OCP routes a query to this plugin when it matches these axes.
| Axis | Value |
|---|---|
media |
MUSIC |
playback_type |
AUDIO |
genre_filter |
(none) |
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_media_provider_spotify-0.0.1a4.tar.gz.
File metadata
- Download URL: ovos_media_provider_spotify-0.0.1a4.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0494f9d1c22678b102578ecb35b8a03986a3269e57007bf1c5e1f0586fdfb2d3
|
|
| MD5 |
7884ece6b8311cf6e462ec6822eef0a8
|
|
| BLAKE2b-256 |
9a752bd75671b1a8a0d4ef591f923f9a6de8afca573fb490d96201243af769f9
|
File details
Details for the file ovos_media_provider_spotify-0.0.1a4-py3-none-any.whl.
File metadata
- Download URL: ovos_media_provider_spotify-0.0.1a4-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
087485e91cda0f2c00e6107e39bba7a7cd6b4fa05a25cadc4b486f1d3d2d149f
|
|
| MD5 |
aee973eeeafa2adc21657027ed9e2e49
|
|
| BLAKE2b-256 |
ec24763bd071aad2d0a55eb1b07707162dad866838725baf0fe58e7eb6b6fbe1
|