hnarayanan/shpotify — pull request #2 by tpritc (2014-06-08 19:51:34+00:00)
Title: Added 'toggle' command

This addition adds the `toggle` command. If Spotify is playing, it pauses it, if it is paused, it plays it; in effect, it is an automatic version of the `play` and `pause` commands.

It uses the standard syntax of `spotify `:

`spotify toggle`