A Spotify plugin for neovim
- Neovim (Of course)
- Python3 provider
- Telescope
- requests
- pynvim
- distutils (in case you don't have it)
- Goto Spotify Developer and log in.
- Create a new app and name it to whatever you feel like.
- Add
http://localhost:8080/auth
toRedirect URIs
. - Select
Web API
underWhich API/SDKs are you planning to use?
. - Save.
- Goto
User Management
tab of your app. - Add your Spotify account's email. (Very important! You won't be able to authenticate if you skip this)
- Go back to
Basic Information
tab. Click onView client secret
. - Record
Client ID
andClient Secret
for the next steps
- Set
g:spotify_client_id
to theClient ID
you justhopefullycopied. - Set
g:spotify_client_secret
to theClient Secret
you just copied. - Restart or reload your configuration.
- Use
:SpotifyAuth
to authenticate. - Hopefully, now you are all set!
This plugin currently supports the following commands:
resume playing, or, if you would like, pass in a Spotify URI to play the corresponding thing, or use __liked__
to play your saved playlist.
pause - of course
List all your playlists using Telescope.
- Use
<CR>
to play. - Use
<C-d>
to view playlist and then to play selected track.