Skip to content

custoz/counsel-spotify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Counsel Spotify

Little Emacs package to control Spotify app through an Ivy interface.

If I have seen further it is by standing on the shoulders of giants. Isaac Newton

This package is basically a port of helm-spotify and helm-spotify-plus with an Ivy interface. Many thanks to the authors of those for their amazing work!

Dependencies

Ivy

Notes on Spotify Web API authentication

You'll need to register an application in Spotify in order to obtain a client id and a client secret. Then, you'll have to set the variables counsel-spotify-client-id and counsel-spotify-client-secret variables with your credentials to start using the search feature

How to use it

This package exposes these search functions:

  • counsel-spotify-search-track
  • counsel-spotify-search-album
  • counsel-spotify-search-artist (not working entirely at the moment, see this issue)
  • counsel-spotify-seach-tracks-by-album
  • counsel-spotify-search-tracks-by-artist

The options are fetched from Spotify REST API. Hitting RET while selecting an option will start playing that track or album (depending on what the search were). Also, hitting M-o will prompt a tiny menu with some more actions to choose from (for example, choosing to play the entire album a song belongs to)

Controllers

There are defined some basic controllers for the Spotify App

Action Function
Play counsel-spotify-play
Toggle play/pause counsel-spotify-toggle-play-pause
Next song counsel-spotify-next
Previous song counsel-spotify-previous

About

Control Spotify App through Emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%