# 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](https://github.com/OpenVoiceOS/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
- [@forslund](https://github.com/forslund)
Raw data
{
"_id": null,
"home_page": "https://github.com/OpenVoiceOS/ovos-skill-spotify",
"name": "ovos-skill-spotify",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "ovos skill plugin",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/6e/e8/6d3688a8123b56596584b35a55e80a0be3a06226192acda273f4880a39c8/ovos-skill-spotify-0.1.7.tar.gz",
"platform": null,
"description": "# OVOS Spotify skill\n\nOCP skill for spotify\n\nThis skill requires additional setup and components\n\n## Setup\n\nInstall and configure the companion plugin [ovos-media-plugin-spotify](https://github.com/OpenVoiceOS/ovos-media-plugin-spotify)\n\n`pip install ovos-media-plugin-spotify`\n\nthis skill only handles the voice search, plugin is needed to handle playback of spotify uris provided by this skill\n\n## Oauth\n\nCurrently Oauth needs to be performed manually\n\nafter installing the plugin run `ovos-spotify-oauth` on the command line and follow the instructions\n\n```\n$ ovos-spotify-oauth\nThis script creates the token information needed for running spotify\n with a set of personal developer credentials.\n\n It requires the user to go to developer.spotify.com and set up a\n developer account, create an \"Application\" and make sure to whitelist\n \"https://localhost:8888\".\n\n After you have done that enter the information when prompted and follow\n the instructions given.\n\nYOUR CLIENT ID: xxxxx\nYOUR CLIENT SECRET: xxxxx\nGo 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\nEnter the URL you were redirected to: https://localhost:8888/?code=.....\nocp_spotify oauth token saved\n```\n\n## Examples \n\n* \"play heavy metal\"\n* \"play motorhead\"\n\n\n## Credits\n\n- [@forslund](https://github.com/forslund)\n\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": null,
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/OpenVoiceOS/ovos-skill-spotify"
},
"split_keywords": [
"ovos",
"skill",
"plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e289244fbb6f93795b94715c7190a81fdca6e455f4c8b162bc26c9af0b34516a",
"md5": "0efb8c8fe17060e89b9fda4bbc196264",
"sha256": "640344e377fd766f2e8f580839af47901e1c9a8c6be125bd587c8a91d11d957c"
},
"downloads": -1,
"filename": "ovos_skill_spotify-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0efb8c8fe17060e89b9fda4bbc196264",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 186193,
"upload_time": "2024-11-05T03:35:04",
"upload_time_iso_8601": "2024-11-05T03:35:04.288433Z",
"url": "https://files.pythonhosted.org/packages/e2/89/244fbb6f93795b94715c7190a81fdca6e455f4c8b162bc26c9af0b34516a/ovos_skill_spotify-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6ee86d3688a8123b56596584b35a55e80a0be3a06226192acda273f4880a39c8",
"md5": "6c3745d84ce7cb865eca2649da7931f0",
"sha256": "133236d5a226d35893fedd69931974e62e97e4236daa8baf93a3cd9b3715ca6a"
},
"downloads": -1,
"filename": "ovos-skill-spotify-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "6c3745d84ce7cb865eca2649da7931f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 60725,
"upload_time": "2024-11-05T03:35:05",
"upload_time_iso_8601": "2024-11-05T03:35:05.985959Z",
"url": "https://files.pythonhosted.org/packages/6e/e8/6d3688a8123b56596584b35a55e80a0be3a06226192acda273f4880a39c8/ovos-skill-spotify-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-05 03:35:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OpenVoiceOS",
"github_project": "ovos-skill-spotify",
"github_not_found": true,
"lcname": "ovos-skill-spotify"
}