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

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

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

ovos_media_provider_spotify-0.0.1a4.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_media_provider_spotify-0.0.1a4-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file ovos_media_provider_spotify-0.0.1a4.tar.gz.

File metadata

File hashes

Hashes for ovos_media_provider_spotify-0.0.1a4.tar.gz
Algorithm Hash digest
SHA256 0494f9d1c22678b102578ecb35b8a03986a3269e57007bf1c5e1f0586fdfb2d3
MD5 7884ece6b8311cf6e462ec6822eef0a8
BLAKE2b-256 9a752bd75671b1a8a0d4ef591f923f9a6de8afca573fb490d96201243af769f9

See more details on using hashes here.

File details

Details for the file ovos_media_provider_spotify-0.0.1a4-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_media_provider_spotify-0.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 087485e91cda0f2c00e6107e39bba7a7cd6b4fa05a25cadc4b486f1d3d2d149f
MD5 aee973eeeafa2adc21657027ed9e2e49
BLAKE2b-256 ec24763bd071aad2d0a55eb1b07707162dad866838725baf0fe58e7eb6b6fbe1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1a4 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page