# 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/7b/ca/9ecb1442c488577ed9630d5871d0807adbcec5b615d51c7ea77f718ca36f/ovos-skill-spotify-0.1.9.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.9",
"project_urls": {
"Homepage": "https://github.com/OpenVoiceOS/ovos-skill-spotify"
},
"split_keywords": [
"ovos",
"skill",
"plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cd6b58f333aa15d24c96abfad88997ffab5b2369209a3bd32c4d2d8d681874eb",
"md5": "24dafa7cc62df808349b442779a991e2",
"sha256": "3f5ec320de5880253728fa859ead3267e646e257a342d8afbbb4be15b03e7499"
},
"downloads": -1,
"filename": "ovos_skill_spotify-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "24dafa7cc62df808349b442779a991e2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 186458,
"upload_time": "2024-11-20T12:29:05",
"upload_time_iso_8601": "2024-11-20T12:29:05.596929Z",
"url": "https://files.pythonhosted.org/packages/cd/6b/58f333aa15d24c96abfad88997ffab5b2369209a3bd32c4d2d8d681874eb/ovos_skill_spotify-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7bca9ecb1442c488577ed9630d5871d0807adbcec5b615d51c7ea77f718ca36f",
"md5": "90e291670670340c1108b51ecb8851b6",
"sha256": "54682b33a5b76ca621ab6aace2037eea3669d31a6c99b4abc154ecee4f0019ff"
},
"downloads": -1,
"filename": "ovos-skill-spotify-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "90e291670670340c1108b51ecb8851b6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 60738,
"upload_time": "2024-11-20T12:29:07",
"upload_time_iso_8601": "2024-11-20T12:29:07.208527Z",
"url": "https://files.pythonhosted.org/packages/7b/ca/9ecb1442c488577ed9630d5871d0807adbcec5b615d51c7ea77f718ca36f/ovos-skill-spotify-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-20 12:29:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OpenVoiceOS",
"github_project": "ovos-skill-spotify",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "ovos-utils",
"specs": [
[
">=",
"0.5.0"
]
]
},
{
"name": "ovos-bus-client",
"specs": [
[
"<",
"2.0.0"
],
[
">=",
"0.0.9"
]
]
},
{
"name": "ovos-workshop",
"specs": [
[
"<",
"4.0.0"
],
[
">=",
"0.0.16"
]
]
},
{
"name": "spotipy",
"specs": []
}
],
"lcname": "ovos-skill-spotify"
}