Skip to content

jackqt/helm-spotify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helm Spotify

A simple Emacs interface for Spotify that makes good use of helm.

helm-spotify.png

Video

See how the first version was coded in 16 minutes.

Installation

If you’re hooked up to MELPA:

M-x package-refresh-contents
M-x package-install RET helm-spotify

Alternatively just grab the single helm-spotify.el file and install that in your preferred way.

Usage

M-x helm-spotify and type a search string.

(The search begins after you’ve typed at least 2 characters. You can use space-separated terms for psuedo-fuzzy matching.)

Keys

C-nNext item.
C-pPrevious item.
RETPlay this track.
C-zPlay this album.
TABMore options.
C-h mFull list of keyboard shortcuts.

Status

Ready to use.

Currently OSX & Linux only. Windows support is available, but partial. Please contribute the code for your platform, if you can!

Supporting Other Platforms

Find out what emacs says your system-type is. (C-h v system-type). Let’s say it shows the symbol ms-dos. Then you need to write this function:

(defmulti-method spotify-play-href 'ms-dos
  (href)
  ...
  ... href is a string that's something like "spotify:track:5Yt80fWRB8JG73XlPjrrKP"
  ...
  ... here, you write any code that will cause Spotify to play that href.
  ...
  )

Then submit a pull request!

Credits

Thanks to Anders Eurenius for supplying the Linux portion of the code. Thanks to Kungsgeten for supplying the Windows portion of the code.

I tip my hat to the team behind Helm, to Steve Purcell (for Melpa), and to Christina Whyte (for Emacs Multimethods).

About

A simple Spotify-for-Emacs interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%