0.0.2 • Published 9 years ago

spotify-win-remote v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

spotify-win-remote

Remote control your Spotify client on windows using node.js.

Code is based on the awesome work of the Toastify project.

API:

Currently, for simplicity, all API is synchronous:

  • togglePausePlay - pause if Spotify is currently playing, or play if it's paused.
  • next - play next song
  • prev - play previous song
  • stop - stop playing
  • volumeDown - toggle volume down
  • volumeUp - toggle volume up
  • toggleMute - mute if volume is currently not muted, unumute if volume is muted.

    Example:

    var spotify = require('spotify-win-remote');
    // start playing and then play next song
    spotify.togglePlayPause();
    spotify.next();