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/authtoRedirect URIs. - Select
Web APIunderWhich API/SDKs are you planning to use?. - Save.
- Goto
User Managementtab 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 Informationtab. Click onView client secret. - Record
Client IDandClient Secretfor the next steps
- Set
g:spotify_client_idto theClient IDyou justhopefullycopied. - Set
g:spotify_client_secretto theClient Secretyou just copied. - Restart or reload your configuration.
- Use
:SpotifyAuthto 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.