GithubHelp home page GithubHelp logo

helm-spotify's Introduction

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).

helm-spotify's People

Contributors

krisajenkins avatar kungsgeten avatar pschorf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.