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.
This also requires you to have set up mopidy-spotify in order to play spotify tracks.
-
Run
pip install --user .in this repo. -
Go to https://developer.spotify.com/dashboard/applications and create an application. Call it whatever you want.
-
Go to "Edit Settings" in your newly created app, then add
http://localhostas a redirect URI and hit "Save" -
Find your spotify username here
-
Now you can run
spotsync --username=username --host=my_mpd_hostwhereusernameis your username from before, andmy_mpd_hostis the host you are running MPD on (defaults tolocalhostif you do not pass it) -
You will be prompted to grant permission to the app, once that's done, it will cache the credentials locally and you should be able to just run spotsync.