Skip to main content
Pre-release

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

⚠️ DEPRECATED

This OCP search skill is deprecated and unmaintained. OCP search skills (OVOSCommonPlaybackSkill + @ocp_search) are replaced by MediaProvider plugins loaded in-process by the ovos-ocp-pipeline-plugin — the catalog/search half moves to ovos-media-provider-spotify, dispatched in-process by the OCP pipeline, and playback moves to ovos-media-plugin-spotify, a playback backend that belongs to the ovos-media player daemon. Both packages are published, but they only do anything once the OCP pipeline's MediaProvider dispatch is the default search path and ovos-media is running as your player — installing them does not replace this skill under the legacy OCP/ovos-audio stack.

This skill keeps working until the OCP pipeline's MediaProvider dispatch becomes the default search path and this repository is archived.

OVOS Spotify skill

OCP skill for spotify

This skill requires additional setup and components

Setup

Install and configure the companion plugin ovos-media-plugin-spotify

pip install ovos-media-plugin-spotify

this skill only handles the voice search, plugin is needed to handle playback of spotify uris provided by this skill

Oauth

Currently Oauth needs to be performed manually

after installing the plugin run ovos-spotify-oauth on the command line and follow the instructions

$ ovos-spotify-oauth
This script creates the token information needed for running spotify
        with a set of personal developer credentials.

        It requires the user to go to developer.spotify.com and set up a
        developer account, create an "Application" and make sure to whitelist
        "https://localhost:8888".

        After you have done that enter the information when prompted and follow
        the instructions given.
        
YOUR CLIENT ID: xxxxx
YOUR CLIENT SECRET: xxxxx
Go to the following URL: https://accounts.spotify.com/authorize?client_id=xxx&response_type=code&redirect_uri=https%3A%2F%2Flocalhost%3A8888&scope=user-library-read+streaming+playlist-read-private+user-top-read+user-read-playback-state
Enter the URL you were redirected to: https://localhost:8888/?code=.....
ocp_spotify oauth token saved

Examples

  • "play heavy metal"
  • "play motorhead"

Credits

Metadata

Release files for ovos-skill-spotify 0.1.13a2

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-skill-spotify 0.1.13a2
File Size Uploaded
ovos_skill_spotify-0.1.13a2.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-spotify 0.1.13a2
File Interpreter ABI Platform
ovos_skill_spotify-0.1.13a2-py3-none-any.whl Python 3 none any Details

Total release size: 35.4 kB

Release files / ovos_skill_spotify-0.1.13a2.tar.gz

Download URL ovos_skill_spotify-0.1.13a2.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
abef5b8a2e9aed37fc910465e162d11df39b8cc1ae07ef91de1539bf67d6b364
BLAKE2b-256 checksum
How to use checksums
55f09ad804dba167c2b410d1dfca1e930a83a5979aa40cc66b64cf8f5853774a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_skill_spotify-0.1.13a2-py3-none-any.whl

Download URL ovos_skill_spotify-0.1.13a2-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1584fe21c8a662cca1ae5ed89d68891526a45f38b33e171b03bec1c574d25b7
BLAKE2b-256 checksum
How to use checksums
34d1740fe14b7ce65d08bda6d08c56e4f88918b871b4fee495cde2e02ad679b3
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