-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot search for track, artist, or album #33
Comments
Spotify has upgraded their search api to require authorization. You need to create a client-id & client-secret; toss it to their accounts API; it returns a token. You need to use this limited time token to then authorize your search (client credentials auth process). To work around it, you can make a local hack that uses python and https://github.com/plamere/spotipy to perform the authorization, get the token, & then feed it to spotifycontrol (thats what I've done for the time being at least). |
@sharma0611 Do you have a repo for this? |
Yes. https://github.com/sharma0611/SpokenWord/tree/master/scripts has an updated spotify_ctrl script that uses a token created by another script in the same directory, spotify_auth.py. To run both, you need to add your credentials to a config.cfg file in the main repo. It's ugly but you can adapt it to your needs. |
Nice, I’ll have to play around with that. Thanks for sharing. 🙌 |
When I try to use these commands:
spotify play track [song name]
spotify play artist [artist name]
spotify play album [album name]
It will just return
And similarly for track and artist searches.
I am using macOS High Sierra Version 10.13.2
What could the cause for this issue?
The text was updated successfully, but these errors were encountered: