Skip to content
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

${HOME}/.shpotify.cfg no diea what to do #125

Closed
fredyonge opened this issue Feb 25, 2020 · 2 comments
Closed

${HOME}/.shpotify.cfg no diea what to do #125

fredyonge opened this issue Feb 25, 2020 · 2 comments

Comments

@fredyonge
Copy link

Sorry this is not an issue, but I dont know what to do at the step : ${HOME}/.shpotify.cfg

Do I go into the terminal, if so, I went into my home directory but couldn't use the that. Could you help me?

@dmofot
Copy link
Collaborator

dmofot commented Feb 27, 2020

${HOME}/.shpotify.cfg will be created for you if you don't already have one. In your terminal, if you simply run spotify, it will print out the tools current usage and setup. You'll see a section at the bottom called Connecting to Spotify's API:. Simply follow the directions (copied below) to grab a CLIENT_ID and CLIENT_SECRET from Spotify. Once you have those values, edit your ${HOME}/.shpotify.cfg to include your new/updated values. How you edit the file is up to you (nano, vim, VSCode, etc.), but if you need a GUI, something like $ open ~/.shpotify.cfg -a textedit should open the file for editing.

This command line application needs to connect to Spotify's API in order to
find music by name. It is very likely you want this feature!

To get this to work, you need to sign up (or in) and create an 'Application' at:
https://developer.spotify.com/my-applications/#!/applications/create

Once you've created an application, find the 'Client ID' and 'Client Secret'
values, and enter them into your shpotify config file at '${HOME}/.shpotify.cfg'

Be sure to quote your values and don't add any extra spaces!
When done, it should look like this (but with your own values):
CLIENT_ID="abc01de2fghijk345lmnop"
CLIENT_SECRET="qr6stu789vwxyz"

@dmofot dmofot added the Status: Awaiting Response Feedback Needed label Mar 3, 2020
@dmofot
Copy link
Collaborator

dmofot commented Mar 9, 2020

Going to close this issue. Feel free to respond if you haven't gotten setup sorted.

@dmofot dmofot closed this as completed Mar 9, 2020
@dmofot dmofot removed the Status: Awaiting Response Feedback Needed label Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants