You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| spotify_mpd_sync | 7 years ago | |
| .gitignore | 7 years ago | |
| README.md | 7 years ago | |
| requirements.txt | 7 years ago | |
| setup.py | 7 years ago | |
README.md
Usage
Please note that this won't work without Spotify Premium because Spotify limits web API access to non-free accounts.
-
Run
pip install --user .in this repo. -
Go to https://developer.spotify.com/dashboard/applications and create an application. Call it whatever you want.
-
Create a
.envor.envrcfile with contents like this, put it wherever you want.
export SPOTIPY_CLIENT_ID='YOUR_CLIENT_ID'
export SPOTIPY_CLIENT_SECRET='YOUR_CLIENT_SECRET'
export SPOTIPY_REDIRECT_URI='http://localhost'
export SPOTIFY_USERNAME='YOUR_SPOTIFY_USERNAME'
-
You can find the values for
SPOTIPY_CLIENT_IDandSPOTIPY_CLIENT_SECRETon the page for your application that you just created. -
You can find your spotify username here
-
Now you can run
spotsyncwith your.envfile sourced (e.g.source .env)